Browse Source

Setting DragonX default theme for additional exception

pull/112/head
fekt 1 year ago
parent
commit
08485e10ad
  1. 7
      src/mainwindow.cpp

7
src/mainwindow.cpp

@ -2351,7 +2351,12 @@ void MainWindow::slot_change_theme(QString& theme_name)
saved_theme_name = Settings::getInstance()->get_theme_name();
} catch (const std::exception& e) {
qDebug() << QString("Ignoring theme change Exception! : ");
saved_theme_name = "dark";
if(isdragonx){
saved_theme_name = "dragonx";
}else{
saved_theme_name = "dark";
}
}
QString filename = ":/css/" + saved_theme_name +".css";

Loading…
Cancel
Save