Commit b6f86e3a authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Speed up initialization

parent 44fd6c0b
......@@ -177,9 +177,8 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char *argv[])
needToDeleteQApplication = false;
Kdelibs4ConfigMigrator migrate(QStringLiteral("konsole"));
migrate.setConfigFiles(QStringList() << QStringLiteral("konsolerc")
<< QStringLiteral("konsole.notifyrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("sessionui.rc") << QStringLiteral("partui.rc") << QStringLiteral("konsoleui.rc"));
migrate.setConfigFiles({QStringLiteral("konsolerc"), QStringLiteral("konsole.notifyrc")});
migrate.setUiFiles({QStringLiteral("sessionui.rc"), QStringLiteral("partui.rc"), QStringLiteral("konsoleui.rc")});
if (migrate.migrate()) {
Kdelibs4Migration dataMigrator;
......
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