change default theme to dark
This commit is contained in:
@@ -59,7 +59,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
theme_name = "default";
|
theme_name = "dark";
|
||||||
}
|
}
|
||||||
|
|
||||||
this->slot_change_theme(theme_name);
|
this->slot_change_theme(theme_name);
|
||||||
@@ -1823,7 +1823,7 @@ void MainWindow::slot_change_theme(const QString& theme_name)
|
|||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
saved_theme_name = "default";
|
saved_theme_name = "dark";
|
||||||
}
|
}
|
||||||
|
|
||||||
QFile qFile(":/css/res/css/" + saved_theme_name +".css");
|
QFile qFile(":/css/res/css/" + saved_theme_name +".css");
|
||||||
|
|||||||
Reference in New Issue
Block a user