Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-06-03 00:48:13 +03:00
commit 9ca74cd009
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

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