set default theme to dark

This commit is contained in:
DenioD
2020-06-05 22:36:36 +02:00
parent c69abfc7f9
commit 495d588b30
2 changed files with 6 additions and 6 deletions

View File

@@ -230,7 +230,7 @@ void Settings::set_currency_name(QString currency_name) {
QString Settings::get_theme_name() {
// Load from the QT Settings.
return QSettings().value("options/theme_name", false).toString();
return QSettings().value("options/theme_name", "dark").toString();
}
void Settings::set_theme_name(QString theme_name) {

View File

@@ -95,6 +95,11 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item>
<property name="text">
<string>dark</string>
</property>
</item>
<item>
<property name="text">
<string>default</string>
@@ -110,11 +115,6 @@
<string>light</string>
</property>
</item>
<item>
<property name="text">
<string>dark</string>
</property>
</item>
<item>
<property name="text">
<string>midnight</string>