extend UI styling to 5.15.2 since they still haven't fixed this bug

This commit is contained in:
itsmattkc
2020-11-27 12:49:51 +11:00
parent d02a1aa41b
commit 240fe81961
+1 -1
View File
@@ -39,7 +39,7 @@ QMap<QString, QString> StyleManager::available_themes_;
void StyleManager::UseOSNativeStyling(QWidget *widget)
{
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) || QT_VERSION > QT_VERSION_CHECK(5, 15, 1)
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) || QT_VERSION > QT_VERSION_CHECK(5, 15, 2)
#if defined(Q_OS_WINDOWS)
QStyle* s = QStyleFactory::create(QStringLiteral("windowsvista"));
widget->setStyle(s);