Commit 4fb414de authored by Laurent Montel's avatar Laurent Montel 😁

Add AA_EnableHighDpiScaling

parent b1244e03
......@@ -43,6 +43,9 @@ int main(int argc, char* argv[])
KAlarmApp* app = KAlarmApp::create(argc, argv);
QStringList args = app->arguments();
app->setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app->setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("kalarm");
KAboutData aboutData(QStringLiteral(PROGRAM_NAME), i18n("KAlarm"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment