Merge pull request #1086 from TayouVR/fix-qt6_5-brown-system-theme

This commit is contained in:
Sefa Eyeoglu
2023-06-02 12:18:37 +02:00
committed by GitHub

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();