aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-02-08 18:38:12 -0600
committerGitHub <noreply@github.com>2021-02-08 18:38:12 -0600
commit1126f2a092d91a3f01831692157160e18e469838 (patch)
tree8eac8e06be4b3a8de4a24cf9dd5f34f8e6c363b9 /include
parentce77e50f756d8c1ef2fba627aa245a98ba0421de (diff)
parentaea0e2ef80540d788d497ff9d15361a28d955976 (diff)
Merge pull request #453 from AttorneyOnline/fix/stopmusic-option
[ULTRA TOP PRIORITY] Fix backwards compatibility with the stopmusic [!!!!!!!!!!!!!!!]
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
-rw-r--r--include/aooptionsdialog.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 9667b269..e76ad683 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -226,6 +226,10 @@ public:
// from the config.ini.
bool is_continuous_enabled();
+ // Returns the value of whether stopping music by double clicking category should be used
+ // from the config.ini.
+ bool is_category_stop_enabled();
+
// Returns the value of the maximum amount of lines the IC chatlog
// may contain, from config.ini.
int get_max_log_size();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 340a9f07..81dd191f 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -102,6 +102,9 @@ private:
QLabel *ui_continuous_lbl;
QCheckBox *ui_continuous_cb;
+ QLabel *ui_category_stop_lbl;
+ QCheckBox *ui_category_stop_cb;
+
QWidget *ui_callwords_tab;
QWidget *ui_callwords_widget;
QVBoxLayout *ui_callwords_layout;