aboutsummaryrefslogtreecommitdiff
path: root/text_file_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'text_file_functions.cpp')
-rw-r--r--text_file_functions.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/text_file_functions.cpp b/text_file_functions.cpp
index db858cb..1389cf5 100644
--- a/text_file_functions.cpp
+++ b/text_file_functions.cpp
@@ -99,6 +99,18 @@ int AOApplication::get_max_log_size()
else return f_result.toInt();
}
+bool AOApplication::get_log_goes_downwards()
+{
+ QString f_result = read_config("log_goes_downwards");
+
+ if (f_result == "true")
+ return true;
+ else if (f_result == "false")
+ return false;
+ else
+ return true;
+}
+
QString AOApplication::get_default_username()
{
QString f_result = read_config("default_username");