diff options
| author | Crystalwarrior <varsash@gmail.com> | 2021-02-09 03:00:51 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2021-02-09 03:00:51 +0300 |
| commit | aea0e2ef80540d788d497ff9d15361a28d955976 (patch) | |
| tree | 8eac8e06be4b3a8de4a24cf9dd5f34f8e6c363b9 /include | |
| parent | ce77e50f756d8c1ef2fba627aa245a98ba0421de (diff) | |
Fix backwards compatibility with the stopmusic
Hide ~stop.mp3 and the stop category
Add an option to make it so when you double-click a category, it expands/collapses it without sending the stop-music command
Make right click stop music backwards compatible
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoapplication.h | 4 | ||||
| -rw-r--r-- | include/aooptionsdialog.h | 3 |
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; |
