| 129 | |
| 130 | |
| 131 | void debugThemeFiles(bool debugMode) { |
| 132 | if(debugMode) { |
| 133 | QFile testDark(Settings::DARK_STYLE_SHEET_NAME); |
| 134 | QDEBUG() << "Dark stylesheet exists?" << testDark.exists(); |
| 135 | QFile testLight(Settings::LIGHT_STYLE_SHEET_NAME); |
| 136 | QDEBUG() << "Light stylesheet exists?" << testLight.exists(); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | void applyTheme(bool isDark, bool debugMode, QApplication *app, MainWindow *mainWin = nullptr) { |
| 141 | debugThemeFiles(debugMode); |