aboutsummaryrefslogtreecommitdiff
path: root/text_file_functions.cpp
diff options
context:
space:
mode:
authorghostfeesh <codeviscerate@gmail.com>2018-07-28 07:06:42 +0800
committeroldmud0 <oldmud0@users.noreply.github.com>2018-07-27 19:06:42 -0400
commit3129d2aded8a323dce9a184e3da99daac8bea35a (patch)
tree2e48fe5c7153da07ef1f836f81f5d56f5d42a020 /text_file_functions.cpp
parentbd1cda1bd65d390c5f8a915afdef610608a81871 (diff)
Reverse IC log config option (#22)
The way it should have been. Reverse IC logs, now in configurable in config.ini. Set to false by default. Now you can go up or down as and when you please. (thanks argo for putting up with my trash code)
Diffstat (limited to 'text_file_functions.cpp')
-rw-r--r--text_file_functions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/text_file_functions.cpp b/text_file_functions.cpp
index b77e1788..1aebc35e 100644
--- a/text_file_functions.cpp
+++ b/text_file_functions.cpp
@@ -581,3 +581,9 @@ bool AOApplication::is_discord_enabled()
QString f_result = read_config("discord");
return !f_result.startsWith("false");
}
+
+bool AOApplication::ic_scroll_down_enabled()
+{
+ QString f_result = read_config("ic_scroll_down");
+ return f_result.startsWith("true");
+} \ No newline at end of file