diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-05-24 04:54:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-24 04:54:48 +0200 |
| commit | 4c56a25463d15cf12e21fe512a598bee91b3363d (patch) | |
| tree | b0478364cd4d267c97334164aa876b41c1a841f9 /src/options.cpp | |
| parent | 4b0f7e4d806c79313e493a3c58818e995af25847 (diff) | |
| parent | eb024cb93131cddba8ec1a6094abde8bf1f4eaf3 (diff) | |
Merge pull request #966 from AttorneyOnline/coolslide-rebased
[Feature] Courtroom slides + major AOLayer overhaul
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(); |
