Verified Commit 89ba670a authored by ivan tkachenko's avatar ivan tkachenko
Browse files

Improve main(): Set attributes before app object construction

And omit value argument, which is true by default anyway.
parent 97633ef1
......@@ -18,8 +18,8 @@
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QApplication a( argc, argv );
a.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
Kdelibs4ConfigMigrator migrate(QStringLiteral("kruler"));
migrate.setConfigFiles(QStringList() << QStringLiteral("krulerrc") << QStringLiteral("kruler.notifyrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("krulerui.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