aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-12-23 17:29:17 -0600
committeroldmud0 <oldmud0@users.noreply.github.com>2021-12-23 17:29:17 -0600
commit2eed786c776ba31e464e5929a6a0299a19897192 (patch)
tree82dd9106048009e219d49f7400a0b8e121cb0e85 /include
parentd9e69cca06ef98e6a0ea9bc22a990e735ee5a65f (diff)
Split logging option into text and demo
Apparently, people don't like logging demos because it takes up too much space. It's possible to enable NTFS compression for demo files (or the entire demos folder), though.
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h7
-rw-r--r--include/aooptionsdialog.h8
2 files changed, 11 insertions, 4 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 0c5359a..957d7f6 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -504,8 +504,11 @@ public:
// Get the message for the CM for casing alerts.
QString get_casing_can_host_cases();
- // Get if automatic logging is enabled
- bool get_auto_logging_enabled();
+ // Get if text file logging is enabled
+ bool get_text_logging_enabled();
+
+ // Get if demo logging is enabled
+ bool get_demo_logging_enabled();
// Get the subtheme from settings
QString get_subtheme();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 77d19a4..ac8f2f3 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -124,6 +124,12 @@ private:
QLabel *ui_category_stop_lbl;
QCheckBox *ui_category_stop_cb;
+ QLabel *ui_log_text_lbl;
+ QCheckBox *ui_log_text_cb;
+
+ QLabel *ui_log_demo_lbl;
+ QCheckBox *ui_log_demo_cb;
+
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;
QVBoxLayout *ui_callwords_layout;
@@ -174,8 +180,6 @@ private:
QCheckBox *ui_casing_cm_cb;
QLabel *ui_casing_cm_cases_lbl;
QLineEdit *ui_casing_cm_cases_textbox;
- QLabel *ui_log_lbl;
- QCheckBox *ui_log_cb;
QWidget *ui_assets_tab;
QVBoxLayout *ui_assets_tab_layout;