1
0
Fork 0
forked from suyu/suyu

config: Change default theme to Dark Colorful

This commit is contained in:
gidoly 2022-01-16 12:51:26 +09:00 committed by Morph
parent 480b03b645
commit 789af19c60

View file

@ -743,7 +743,7 @@ void Config::ReadUIValues() {
qt_config->beginGroup(QStringLiteral("UI")); qt_config->beginGroup(QStringLiteral("UI"));
UISettings::values.theme = UISettings::values.theme =
ReadSetting(QStringLiteral("theme"), QString::fromUtf8(UISettings::themes[0].second)) ReadSetting(QStringLiteral("theme"), QString::fromUtf8(UISettings::themes[3].second))
.toString(); .toString();
ReadBasicSetting(UISettings::values.enable_discord_presence); ReadBasicSetting(UISettings::values.enable_discord_presence);
ReadBasicSetting(UISettings::values.select_user_on_boot); ReadBasicSetting(UISettings::values.select_user_on_boot);
@ -1271,7 +1271,7 @@ void Config::SaveUIValues() {
qt_config->beginGroup(QStringLiteral("UI")); qt_config->beginGroup(QStringLiteral("UI"));
WriteSetting(QStringLiteral("theme"), UISettings::values.theme, WriteSetting(QStringLiteral("theme"), UISettings::values.theme,
QString::fromUtf8(UISettings::themes[0].second)); QString::fromUtf8(UISettings::themes[3].second));
WriteBasicSetting(UISettings::values.enable_discord_presence); WriteBasicSetting(UISettings::values.enable_discord_presence);
WriteBasicSetting(UISettings::values.select_user_on_boot); WriteBasicSetting(UISettings::values.select_user_on_boot);