aboutsummaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2024-05-24 04:54:48 +0200
committerGitHub <noreply@github.com>2024-05-24 04:54:48 +0200
commit4c56a25463d15cf12e21fe512a598bee91b3363d (patch)
treeb0478364cd4d267c97334164aa876b41c1a841f9 /src/options.cpp
parent4b0f7e4d806c79313e493a3c58818e995af25847 (diff)
parenteb024cb93131cddba8ec1a6094abde8bf1f4eaf3 (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.cpp10
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();