diff --git a/src/app/main.cpp b/src/app/main.cpp index 419b9b362af..76a15ccb7d1 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -342,7 +342,7 @@ static void setHighDpiEnvironmentVariable() && !qEnvironmentVariableIsSet("QT_SCALE_FACTOR") && !qEnvironmentVariableIsSet("QT_SCREEN_SCALE_FACTORS")) { QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) +#if QT_VERSION == QT_VERSION_CHECK(5, 14, 0) // work around QTBUG-80934 QGuiApplication::setHighDpiScaleFactorRoundingPolicy( Qt::HighDpiScaleFactorRoundingPolicy::Round);