fixed variable that didn't change since it was behind an ifdef guard

This commit is contained in:
itsmattkc
2020-12-30 18:27:44 +11:00
parent c0095a40ce
commit 19eabf2830
+1 -1
View File
@@ -44,7 +44,7 @@ void StyleManager::UseOSNativeStyling(QWidget *widget)
#if defined(Q_OS_WINDOWS)
QStyle* s = QStyleFactory::create(QStringLiteral("windowsvista"));
widget->setStyle(s);
widget->setPalette(standard_palette_);
widget->setPalette(platform_palette_);
#elif defined(Q_OS_MAC)
QStyle* s = QStyleFactory::create(QStringLiteral("macintosh"));
widget->setStyle(s);