diff options
| author | windrammer <31085911+likeawindrammer@users.noreply.github.com> | 2020-07-31 14:14:39 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-31 15:14:39 -0500 |
| commit | 36b5af3cb9ce8e5530c5bd9353a4e2f10da506b6 (patch) | |
| tree | 19e9217126837cac1ae3ab025b050bb3cfbda64b /src/text_file_functions.cpp | |
| parent | bab10ea14ddaf7af7aeeff925b373be1c347d0d7 (diff) | |
Add option for automatic logging (#203)
Just so we're on the same page, this is enabled by default.
Co-authored-by: Cents02 <Cents02@Cents0.me>
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 2340bd87..39754f39 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -1049,3 +1049,9 @@ QString AOApplication::get_casing_can_host_cases() .value<QString>(); return result; } +bool AOApplication::get_auto_logging_enabled() +{ + QString result = + configini->value("automatic_logging_enabled", "true").value<QString>(); + return result.startsWith("true"); +} |
