aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-02-09 03:00:51 +0300
committerCrystalwarrior <varsash@gmail.com>2021-02-09 03:00:51 +0300
commitaea0e2ef80540d788d497ff9d15361a28d955976 (patch)
tree8eac8e06be4b3a8de4a24cf9dd5f34f8e6c363b9 /src/text_file_functions.cpp
parentce77e50f756d8c1ef2fba627aa245a98ba0421de (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.cpp6
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>();