Restrict Qt::AA_UseHighDpiPixmaps to Qt5.
This commit is contained in:
parent
20d41ef501
commit
e47827e20c
|
@ -92,7 +92,9 @@ int Q_DECL_IMPORT main(int argc, char* argv[])
|
||||||
aboutData.setHomepage(QStringLiteral("https://www.kde.org/applications/system/partitionmanager"));
|
aboutData.setHomepage(QStringLiteral("https://www.kde.org/applications/system/partitionmanager"));
|
||||||
|
|
||||||
KAboutData::setApplicationData(aboutData);
|
KAboutData::setApplicationData(aboutData);
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
||||||
|
#endif
|
||||||
KCrash::initialize();
|
KCrash::initialize();
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
|
|
Loading…
Reference in New Issue