summaryrefslogtreecommitdiff
path: root/settings.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-11-04 01:39:56 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-11-04 01:39:56 -0400
commit1f445742b4fbc185fe0e24d9ed2478e4f7495f53 (patch)
tree115717c39b7769a7ad97776fbc299362fd8b10c9 /settings.cpp
parentd629846220d069a86b000db213d47c8681e8f57a (diff)
downloadabaddon-portaudio-1f445742b4fbc185fe0e24d9ed2478e4f7495f53.tar.gz
abaddon-portaudio-1f445742b4fbc185fe0e24d9ed2478e4f7495f53.zip
preserve channel list expansion and active channel (#36)
also check getenv in platform
Diffstat (limited to 'settings.cpp')
-rw-r--r--settings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings.cpp b/settings.cpp
index f753cc1..0a7dbb7 100644
--- a/settings.cpp
+++ b/settings.cpp
@@ -109,3 +109,7 @@ std::string SettingsManager::GetAPIBaseURL() const {
bool SettingsManager::GetAnimatedGuildHoverOnly() const {
return GetSettingBool("gui", "animated_guild_hover_only", true);
}
+
+bool SettingsManager::GetSaveState() const {
+ return GetSettingBool("gui", "save_state", true);
+}