diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-05-20 08:47:27 -0500 |
|---|---|---|
| committer | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-05-20 08:47:27 -0500 |
| commit | adf32f47275a2bac02034b848215d4413e0f9b37 (patch) | |
| tree | c9b6bfa99b61d7ff97f6de4391534ee309fc3029 /src/options.cpp | |
| parent | 4b0f7e4d806c79313e493a3c58818e995af25847 (diff) | |
Initial slide rebase commit
Diffstat (limited to 'src/options.cpp')
| -rw-r--r-- | src/options.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/options.cpp b/src/options.cpp index 80060764..d06c5e46 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -401,6 +401,16 @@ void Options::setNetworkedFrameSfxEnabled(bool value) config.setValue("framenetwork", value); } +bool Options::slidesEnabled() const +{ + return config.value("slides", true).toBool(); +} + +void Options::setSlidesEnabled(bool value) +{ + config.setValue("slides", value); +} + bool Options::colorLogEnabled() const { return config.value("colorlog", true).toBool(); |
