MCPcopy Create free account
hub / github.com/dannagle/PacketSender / debugThemeFiles

Function debugThemeFiles

src/main.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130
131void 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
140void applyTheme(bool isDark, bool debugMode, QApplication *app, MainWindow *mainWin = nullptr) {
141 debugThemeFiles(debugMode);

Callers 1

applyThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected