From e47827e20c6f4442866db37c30f93199e9ef3868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 18 Jan 2022 20:46:10 +0000 Subject: [PATCH] Restrict Qt::AA_UseHighDpiPixmaps to Qt5. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index fe5d8d9..f733cef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -92,7 +92,9 @@ int Q_DECL_IMPORT main(int argc, char* argv[]) aboutData.setHomepage(QStringLiteral("https://www.kde.org/applications/system/partitionmanager")); KAboutData::setApplicationData(aboutData); +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); +#endif KCrash::initialize(); QCommandLineParser parser;