diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2021-12-23 17:29:17 -0600 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2021-12-23 17:29:17 -0600 |
| commit | 2eed786c776ba31e464e5929a6a0299a19897192 (patch) | |
| tree | 82dd9106048009e219d49f7400a0b8e121cb0e85 /src/text_file_functions.cpp | |
| parent | d9e69cca06ef98e6a0ea9bc22a990e735ee5a65f (diff) | |
Split logging option into text and demo
Apparently, people don't like logging demos because it takes up too
much space. It's possible to enable NTFS compression for demo files
(or the entire demos folder), though.
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index d873b3c1..af96b3d1 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -1067,13 +1067,20 @@ QString AOApplication::get_casing_can_host_cases() return result; } -bool AOApplication::get_auto_logging_enabled() +bool AOApplication::get_text_logging_enabled() { QString result = configini->value("automatic_logging_enabled", "true").value<QString>(); return result.startsWith("true"); } +bool AOApplication::get_demo_logging_enabled() +{ + QString result = + configini->value("demo_logging_enabled", "true").value<QString>(); + return result.startsWith("true"); +} + QString AOApplication::get_subtheme() { QString result = |
