Commit c6dfbdba authored by Laurent Montel's avatar Laurent Montel 😁

Fix hdpi support

parent 26071ad2
......@@ -45,9 +45,9 @@ void knotesAuthors(KAboutData &aboutData);
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
Application app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setAttribute(Qt::AA_EnableHighDpiScaling);
KCrash::initialize();
KNotesMigrateApplication migrate;
migrate.migrate();
......
......@@ -34,9 +34,9 @@
#include <KCrash>
int main(int argc, char **argv)
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
KOrganizerApp app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setAttribute(Qt::AA_EnableHighDpiScaling);
KCrash::initialize();
KLocalizedString::setApplicationDomain("korganizer");
KOrgMigrateApplication 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