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

Fix initialize Qt::AA_EnableHighDpiScaling attribute

parent 0e5f723a
......@@ -30,13 +30,13 @@
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("pimsettingexporter");
KCrash::initialize();
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setAttribute(Qt::AA_EnableHighDpiScaling);
app.setDesktopFileName(QStringLiteral("org.kde.pimsettingexporter"));
Kdelibs4ConfigMigrator migrate(QStringLiteral("pimsettingexporter"));
migrate.setConfigFiles(QStringList() << QStringLiteral("pimsettingexporterrc"));
......
Supports Markdown
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