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.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/text_file_functions.cpp b/text_file_functions.cpp
index 90b10f53..f35de91c 100644
--- a/text_file_functions.cpp
+++ b/text_file_functions.cpp
@@ -90,6 +90,15 @@ int AOApplication::get_default_blip()
else return f_result.toInt();
}
+int AOApplication::get_max_log_size()
+{
+ QString f_result = read_config("log_maximum");
+
+ if (f_result == "")
+ return 200;
+ else return f_result.toInt();
+}
+
QStringList AOApplication::get_call_words()
{
QStringList return_value;