Commit 3c2ee9ea authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add AA_EnableHighDpiScaling

parent b8f949d7
...@@ -36,6 +36,9 @@ int main(int argc, char **argv) ...@@ -36,6 +36,9 @@ int main(int argc, char **argv)
{ {
KOrganizerApp app(argc, &argv); KOrganizerApp app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("korganizer"); KLocalizedString::setApplicationDomain("korganizer");
KOrgMigrateApplication migrate; KOrgMigrateApplication migrate;
migrate.migrate(); migrate.migrate();
......
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