remove now commented out ifdef guard
This commit is contained in:
@@ -40,7 +40,6 @@ QPalette StyleManager::platform_palette_;
|
|||||||
|
|
||||||
void StyleManager::UseOSNativeStyling(QWidget *widget)
|
void StyleManager::UseOSNativeStyling(QWidget *widget)
|
||||||
{
|
{
|
||||||
//#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) || QT_VERSION > QT_VERSION_CHECK(5, 15, 2)
|
|
||||||
#if defined(Q_OS_WINDOWS)
|
#if defined(Q_OS_WINDOWS)
|
||||||
QStyle* s = QStyleFactory::create(QStringLiteral("windowsvista"));
|
QStyle* s = QStyleFactory::create(QStringLiteral("windowsvista"));
|
||||||
widget->setStyle(s);
|
widget->setStyle(s);
|
||||||
@@ -50,7 +49,6 @@ void StyleManager::UseOSNativeStyling(QWidget *widget)
|
|||||||
widget->setStyle(s);
|
widget->setStyle(s);
|
||||||
widget->setPalette(platform_palette_);
|
widget->setPalette(platform_palette_);
|
||||||
#endif
|
#endif
|
||||||
//#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QPalette StyleManager::ParsePalette(const QString& ini_path)
|
QPalette StyleManager::ParsePalette(const QString& ini_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user