fix System theme colors on windows

Signed-off-by: Tayou <tayou@gmx.net>
This commit is contained in:
Tayou 2023-05-24 15:18:08 +02:00
parent 42ceaa0015
commit 3c937532f2
No known key found for this signature in database
GPG Key ID: 02CA43C1CB6E9887

View File

@ -43,7 +43,7 @@ SystemTheme::SystemTheme()
{
themeDebugLog() << "Determining System Theme...";
const auto& style = QApplication::style();
systemPalette = style->standardPalette();
systemPalette = QApplication::palette();
QString lowerThemeName = style->objectName();
themeDebugLog() << "System theme seems to be:" << lowerThemeName;
QStringList styles = QStyleFactory::keys();