diff options
| author | Crystalwarrior <varsash@gmail.com> | 2020-01-15 16:42:44 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2020-01-15 16:42:44 +0300 |
| commit | 6138bb107b5ab4d882e9ceb75e1394c2b8ec82a3 (patch) | |
| tree | b70164926e9e1d66ff5894b8ebdb04b59b3e79b7 /src/text_file_functions.cpp | |
| parent | f30013f7f9d9ecb840948b99663e8b1e81a6971c (diff) | |
Separate screenshake options button from effects options button
Add a color logging option button
Update version to 2.8.2
Diffstat (limited to 'src/text_file_functions.cpp')
| -rw-r--r-- | src/text_file_functions.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp index 2c9d5e9b..bb5d7dea 100644 --- a/src/text_file_functions.cpp +++ b/src/text_file_functions.cpp @@ -960,9 +960,15 @@ bool AOApplication::is_discord_enabled() return result.startsWith("true"); } -bool AOApplication::is_shake_flash_enabled() +bool AOApplication::is_shake_enabled() { - QString result = configini->value("shakeandflash", "true").value<QString>(); + QString result = configini->value("shake", "true").value<QString>(); + return result.startsWith("true"); +} + +bool AOApplication::is_effects_enabled() +{ + QString result = configini->value("effects", "true").value<QString>(); return result.startsWith("true"); } @@ -972,6 +978,12 @@ bool AOApplication::is_frame_network_enabled() return result.startsWith("true"); } +bool AOApplication::is_colorlog_enabled() +{ + QString result = configini->value("colorlog", "true").value<QString>(); + return result.startsWith("true"); +} + bool AOApplication::get_casing_enabled() { QString result = configini->value("casing_enabled", "false").value<QString>(); |
