aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 2e96aa9..81a209a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -335,6 +335,11 @@ void MainWindow::on_actionAbout_Qt_triggered()
void MainWindow::reloadTheme()
{
+ if(global_options.theme == Theme::os_default)
+ {
+ application->setStyleSheet("");
+ QIcon::setThemeName("light");
+ }
if(global_options.theme == Theme::light)
{
QFile file(":/light.qss");