diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-06-17 16:40:07 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-06-17 16:40:07 -0400 |
commit | 7832ab5d2a24cc951ad411649b74defd46afb224 (patch) | |
tree | 4f30f1a4b4eb9672e6313cfd06e9ac9ae942a463 /src/settings.cpp | |
parent | 5b9a9bbc9ab2796074b38378f9d98d10c422c6d4 (diff) | |
download | abaddon-portaudio-7832ab5d2a24cc951ad411649b74defd46afb224.tar.gz abaddon-portaudio-7832ab5d2a24cc951ad411649b74defd46afb224.zip |
add runtime option to hide console on windows
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 82401f5..0b868da 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -70,6 +70,7 @@ void SettingsManager::ReadSettings() { SMSTR("style", "unreadcolor", UnreadIndicatorColor); SMBOOL("notifications", "enabled", NotificationsEnabled); SMBOOL("notifications", "playsound", NotificationsPlaySound); + SMBOOL("windows", "hideconsole", HideConsole); #ifdef WITH_KEYCHAIN keychain::Error error {}; @@ -153,6 +154,7 @@ void SettingsManager::Close() { SMSTR("style", "unreadcolor", UnreadIndicatorColor); SMBOOL("notifications", "enabled", NotificationsEnabled); SMBOOL("notifications", "playsound", NotificationsPlaySound); + SMBOOL("windows", "hideconsole", HideConsole); #ifdef WITH_KEYCHAIN keychain::Error error {}; |