Merge pull request #777 from crowning-/UI_Enhancements
[UI] Change default theme to "DASH-light"
This commit is contained in:
commit
a69a643c6e
@ -881,7 +881,7 @@ QString getThemeName()
|
|||||||
if(!theme.isEmpty()){
|
if(!theme.isEmpty()){
|
||||||
return theme;
|
return theme;
|
||||||
}
|
}
|
||||||
return QString("drkblue");
|
return QString("light");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open CSS when configured
|
// Open CSS when configured
|
||||||
@ -896,8 +896,8 @@ QString loadStyleSheet()
|
|||||||
cssName = QString(":/css/") + theme;
|
cssName = QString(":/css/") + theme;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
cssName = QString(":/css/drkblue");
|
cssName = QString(":/css/light");
|
||||||
settings.setValue("theme", "drkblue");
|
settings.setValue("theme", "light");
|
||||||
}
|
}
|
||||||
|
|
||||||
QFile qFile(cssName);
|
QFile qFile(cssName);
|
||||||
|
@ -87,9 +87,9 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Theme selector */
|
/* Theme selector */
|
||||||
|
ui->theme->addItem(QString("DASH-light"), QVariant("light"));
|
||||||
ui->theme->addItem(QString("DASH-blue"), QVariant("drkblue"));
|
ui->theme->addItem(QString("DASH-blue"), QVariant("drkblue"));
|
||||||
ui->theme->addItem(QString("DASH-Crownium"), QVariant("crownium"));
|
ui->theme->addItem(QString("DASH-Crownium"), QVariant("crownium"));
|
||||||
ui->theme->addItem(QString("DASH-light"), QVariant("light"));
|
|
||||||
ui->theme->addItem(QString("DASH-traditional"), QVariant("trad"));
|
ui->theme->addItem(QString("DASH-traditional"), QVariant("trad"));
|
||||||
|
|
||||||
/* Language selector */
|
/* Language selector */
|
||||||
|
Loading…
Reference in New Issue
Block a user