Commit 26071ad2 authored by Laurent Montel's avatar Laurent Montel 😁

Fix hdpi support

parent b64c3d92
......@@ -29,9 +29,9 @@
int main(int argc, char **argv)
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setAttribute(Qt::AA_EnableHighDpiScaling);
KCrash::initialize();
Kdelibs4ConfigMigrator migrate(QStringLiteral("sieveeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("sieveeditorrc") << QStringLiteral("sievetemplaterc"));
......
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