aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorTayou <tayou@gmx.net>2023-05-24 15:18:08 +0200
committerTayou <tayou@gmx.net>2023-05-24 15:18:08 +0200
commit3c937532f2c76257f47da04b1d71e48bfc839dc6 (patch)
treee99d165424dd9e39339d8091b7a1d61fb6d80653 /launcher
parent42ceaa0015217d67245b40adf71120fcd8a739f2 (diff)
downloadPrismLauncher-3c937532f2c76257f47da04b1d71e48bfc839dc6.tar.gz
PrismLauncher-3c937532f2c76257f47da04b1d71e48bfc839dc6.tar.bz2
PrismLauncher-3c937532f2c76257f47da04b1d71e48bfc839dc6.zip
fix System theme colors on windows
Signed-off-by: Tayou <tayou@gmx.net>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ui/themes/SystemTheme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/themes/SystemTheme.cpp b/launcher/ui/themes/SystemTheme.cpp
index a95bc875..3a746d02 100644
--- a/launcher/ui/themes/SystemTheme.cpp
+++ b/launcher/ui/themes/SystemTheme.cpp
@@ -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();