diff --git a/app/main.cpp b/app/main.cpp --- a/app/main.cpp +++ b/app/main.cpp @@ -246,11 +246,6 @@ qputenv("QT_ENABLE_REGEXP_JIT", "0"); } - Kdelibs4ConfigMigrator migrator(QStringLiteral("kdevelop")); - migrator.setConfigFiles({QStringLiteral("kdeveloprc")}); - migrator.setUiFiles({QStringLiteral("kdevelopui.rc")}); - migrator.migrate(); - // Don't show any debug output by default. // If you need to enable additional logging for debugging use a rules file // as explained in the QLoggingCategory documentation: @@ -365,6 +360,11 @@ KDevelopApplication app(argc, argv); + Kdelibs4ConfigMigrator migrator(QStringLiteral("kdevelop")); + migrator.setConfigFiles({QStringLiteral("kdeveloprc")}); + migrator.setUiFiles({QStringLiteral("kdevelopui.rc")}); + migrator.migrate(); + // High DPI support app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);