Commit 2e1f78f6 authored by Laurent Montel's avatar Laurent Montel 😁

Add AA_EnableHighDpiScaling

parent b1dda2f7
......@@ -31,6 +31,9 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("sieveeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("sieveeditorrc") << QStringLiteral("sievetemplaterc"));
migrate.setUiFiles(QStringList() << QStringLiteral("sieveeditorui.rc"));
......
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