aboutsummaryrefslogtreecommitdiff
path: root/src/text_file_functions.cpp
diff options
context:
space:
mode:
authorin1tiate <32779090+in1tiate@users.noreply.github.com>2021-01-09 09:17:12 -0600
committerGitHub <noreply@github.com>2021-01-09 18:17:12 +0300
commit15c3d607c616a6171118cfdd4967e35489c99312 (patch)
tree5e0d351d861644f8fe15a8a2666b11ab19e9824e /src/text_file_functions.cpp
parent7bac3c9514f2c5b01d0c49f60849d897993765db (diff)
Log objections IC, overhaul custom objections context menu, add more configuration options per-character (#356)
* initial commit * The Quick-Fix is a secondary weapon for the Medic. It is a prototype Medi Gun with a group of three gauges on one side, a (cosmetic) ÜberCharge gauge on the other side, and what appears to be a blender for a body. The main gun is coupled with a medicinal reactor backpack with glowing portions that replaces Medic's default backpack. * fixed settings dialog * slightly less stupid custom objection default Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'src/text_file_functions.cpp')
-rw-r--r--src/text_file_functions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index 00eaa009..eb0976a9 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -73,6 +73,13 @@ bool AOApplication::get_log_timestamp()
return result.startsWith("true");
}
+bool AOApplication::get_log_ic_actions()
+{
+ QString result =
+ configini->value("log_ic_actions", "true").value<QString>();
+ return result.startsWith("true");
+}
+
bool AOApplication::get_showname_enabled_by_default()
{
QString result =