Set DiscordRPC OFF by default (#4109)
This commit is contained in:
parent
4f6991139b
commit
516be14a6b
|
@ -208,7 +208,7 @@ void Config::ReadValues() {
|
||||||
qt_config->beginGroup("UI");
|
qt_config->beginGroup("UI");
|
||||||
UISettings::values.theme = ReadSetting("theme", UISettings::themes[0].second).toString();
|
UISettings::values.theme = ReadSetting("theme", UISettings::themes[0].second).toString();
|
||||||
UISettings::values.enable_discord_presence =
|
UISettings::values.enable_discord_presence =
|
||||||
ReadSetting("enable_discord_presence", true).toBool();
|
ReadSetting("enable_discord_presence", false).toBool();
|
||||||
|
|
||||||
qt_config->beginGroup("Updater");
|
qt_config->beginGroup("Updater");
|
||||||
UISettings::values.check_for_update_on_start =
|
UISettings::values.check_for_update_on_start =
|
||||||
|
@ -442,7 +442,7 @@ void Config::SaveValues() {
|
||||||
|
|
||||||
qt_config->beginGroup("UI");
|
qt_config->beginGroup("UI");
|
||||||
WriteSetting("theme", UISettings::values.theme, UISettings::themes[0].second);
|
WriteSetting("theme", UISettings::values.theme, UISettings::themes[0].second);
|
||||||
WriteSetting("enable_discord_presence", UISettings::values.enable_discord_presence, true);
|
WriteSetting("enable_discord_presence", UISettings::values.enable_discord_presence, false);
|
||||||
|
|
||||||
qt_config->beginGroup("Updater");
|
qt_config->beginGroup("Updater");
|
||||||
WriteSetting("check_for_update_on_start", UISettings::values.check_for_update_on_start, true);
|
WriteSetting("check_for_update_on_start", UISettings::values.check_for_update_on_start, true);
|
||||||
|
|
Reference in New Issue