diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-11-04 01:39:56 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-11-04 01:39:56 -0400 |
commit | 1f445742b4fbc185fe0e24d9ed2478e4f7495f53 (patch) | |
tree | 115717c39b7769a7ad97776fbc299362fd8b10c9 /settings.cpp | |
parent | d629846220d069a86b000db213d47c8681e8f57a (diff) | |
download | abaddon-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.cpp | 4 |
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); +} |