mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
Fix system theme detection
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -40,11 +40,11 @@
|
||||
#include "HintOverrideProxyStyle.h"
|
||||
#include "ThemeManager.h"
|
||||
|
||||
SystemTheme::SystemTheme(QString& styleName, bool isSystemTheme)
|
||||
SystemTheme::SystemTheme(const QString& styleName, const QPalette& palette, bool isDefaultTheme)
|
||||
{
|
||||
themeName = isSystemTheme ? "system" : styleName;
|
||||
themeName = isDefaultTheme ? "system" : styleName;
|
||||
widgetTheme = styleName;
|
||||
colorPalette = QApplication::palette();
|
||||
colorPalette = palette;
|
||||
}
|
||||
|
||||
void SystemTheme::apply(bool initial)
|
||||
|
Reference in New Issue
Block a user