diff --git a/src/app/main.cpp b/src/app/main.cpp index f612bb0df6ef..7c7f54d00f98 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -1223,7 +1223,6 @@ int main( int argc, char *argv[] ) // Set the application style. If it's not set QT will use the platform style except on Windows // as it looks really ugly so we use QPlastiqueStyle. QString desiredStyle = settings.value( QStringLiteral( "qgis/style" ) ).toString(); -#ifndef Q_OS_MACX const QString theme = settings.value( QStringLiteral( "UI/UITheme" ) ).toString(); if ( theme != QLatin1String( "default" ) ) { @@ -1232,7 +1231,6 @@ int main( int argc, char *argv[] ) desiredStyle = QStringLiteral( "fusion" ); } } -#endif const QString activeStyleName = QApplication::style()->metaObject()->className(); if ( desiredStyle.contains( QLatin1String( "adwaita" ), Qt::CaseInsensitive ) || ( desiredStyle.isEmpty() && activeStyleName.contains( QLatin1String( "adwaita" ), Qt::CaseInsensitive ) ) )