Commit f461e99f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix hidpi support

parent eee77d15
...@@ -29,12 +29,12 @@ ...@@ -29,12 +29,12 @@
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QApplication app(argc, argv); QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("pimdataexporter"); KLocalizedString::setApplicationDomain("pimdataexporter");
KCrash::initialize(); KCrash::initialize();
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setDesktopFileName(QStringLiteral("org.kde.pimdataexporter")); app.setDesktopFileName(QStringLiteral("org.kde.pimdataexporter"));
Kdelibs4ConfigMigrator migrate(QStringLiteral("pimdataexporter")); Kdelibs4ConfigMigrator migrate(QStringLiteral("pimdataexporter"));
//old migration. Don't change it //old migration. Don't change it
......
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