From 60e3f733241a5524610450adee897c6aca02da42 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 23 Jul 2023 01:01:45 -0400 Subject: make vad method a setting and tie it to combobox --- src/settings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 0b868da..601205a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -4,7 +4,7 @@ #include #ifdef WITH_KEYCHAIN - #include +#include #endif const std::string KeychainPackage = "com.github.uowuo.abaddon"; @@ -70,6 +70,7 @@ void SettingsManager::ReadSettings() { SMSTR("style", "unreadcolor", UnreadIndicatorColor); SMBOOL("notifications", "enabled", NotificationsEnabled); SMBOOL("notifications", "playsound", NotificationsPlaySound); + SMSTR("voice", "vad", VAD); SMBOOL("windows", "hideconsole", HideConsole); #ifdef WITH_KEYCHAIN @@ -154,6 +155,7 @@ void SettingsManager::Close() { SMSTR("style", "unreadcolor", UnreadIndicatorColor); SMBOOL("notifications", "enabled", NotificationsEnabled); SMBOOL("notifications", "playsound", NotificationsPlaySound); + SMSTR("voice", "vad", VAD); SMBOOL("windows", "hideconsole", HideConsole); #ifdef WITH_KEYCHAIN -- cgit v1.2.3