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 /src/text_file_functions.cpp | |
| 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 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 95a54f10..cc28628d 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -1101,6 +1101,12 @@ bool AOApplication::is_continuous_enabled() return result.startsWith("true"); } +bool AOApplication::is_category_stop_enabled() +{ + QString result = configini->value("category_stop", "true").value<QString>(); + return result.startsWith("true"); +} + bool AOApplication::get_casing_enabled() { QString result = configini->value("casing_enabled", "false").value<QString>(); |
