From e327de2ca9b4b60a94e3df6c5a70568233ccd678 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Sun, 21 Jun 2020 23:13:34 +0200 Subject: Adds 'OS Default' theme. --- src/mainwindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainwindow.cpp') 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"); -- cgit v1.2.3