set default theme to dark
This commit is contained in:
@@ -230,7 +230,7 @@ void Settings::set_currency_name(QString currency_name) {
|
|||||||
|
|
||||||
QString Settings::get_theme_name() {
|
QString Settings::get_theme_name() {
|
||||||
// Load from the QT Settings.
|
// 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) {
|
void Settings::set_theme_name(QString theme_name) {
|
||||||
|
|||||||
@@ -95,6 +95,11 @@
|
|||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>dark</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>default</string>
|
<string>default</string>
|
||||||
@@ -110,11 +115,6 @@
|
|||||||
<string>light</string>
|
<string>light</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>dark</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>midnight</string>
|
<string>midnight</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user