From f0c9b520557e467b99a2547360260c494f9f218d Mon Sep 17 00:00:00 2001 From: Tayou Date: Sun, 30 Jun 2024 21:41:37 +0200 Subject: [PATCH] oop Signed-off-by: Tayou --- launcher/ui/themes/SystemTheme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/ui/themes/SystemTheme.cpp b/launcher/ui/themes/SystemTheme.cpp index d927d2207..aa5af95bf 100644 --- a/launcher/ui/themes/SystemTheme.cpp +++ b/launcher/ui/themes/SystemTheme.cpp @@ -47,7 +47,7 @@ SystemTheme::SystemTheme() themeDebugLog() << "Determining System Theme..."; const auto& style = QApplication::style(); colorPalette = QApplication::palette(); - QString lowerThemeName = style->name(); + QString lowerThemeName = style->objectName(); themeDebugLog() << "System theme seems to be:" << lowerThemeName; QStringList styles = QStyleFactory::keys(); for (auto& st : styles) {