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
commit 0ece0b5b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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