Utility method to check if a theme is supposed to be in dark or light mode.

Took 22 minutes

Took 4 seconds
This commit is contained in:
Lukas Brübach 2026-04-08 15:13:40 +02:00
parent d7b31f2f9d
commit 36b4eac829
2 changed files with 26 additions and 0 deletions

View file

@ -50,6 +50,7 @@ private:
protected:
void ensureThemeDirectoryExists();
bool isDarkMode();
QBrush loadBrush(QString fileName, QColor fallbackColor);
QBrush loadExtraBrush(QString fileName, QBrush &fallbackBrush);