aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorwindrammer <31085911+likeawindrammer@users.noreply.github.com>2020-07-31 14:14:39 -0600
committerGitHub <noreply@github.com>2020-07-31 15:14:39 -0500
commit36b5af3cb9ce8e5530c5bd9353a4e2f10da506b6 (patch)
tree19e9217126837cac1ae3ab025b050bb3cfbda64b /include
parentbab10ea14ddaf7af7aeeff925b373be1c347d0d7 (diff)
Add option for automatic logging (#203)
Just so we're on the same page, this is enabled by default. Co-authored-by: Cents02 <Cents02@Cents0.me>
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h3
-rw-r--r--include/aooptionsdialog.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index af357d0c..f4685eca 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -427,6 +427,9 @@ 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();
+
// The file name of the log file in base/logs.
QString log_filename;
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 06684ef4..2b8c879b 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -131,6 +131,8 @@ 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;
bool needs_default_audiodev();