Commit 44ad8209 authored by Laurent Montel's avatar Laurent Montel 😁

initialize QApplication first

parent 6dcea285
......@@ -54,6 +54,7 @@ public:
extern "C" int Q_DECL_EXPORT kdemain( int argc, char **argv )
KMenuApplication app(argc, argv);
Kdelibs4ConfigMigrator migrate(QStringLiteral("kmenuedit"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kmenueditrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kmenueditui.rc"));
......@@ -71,7 +72,6 @@ extern "C" int Q_DECL_EXPORT kdemain( int argc, char **argv )
aboutData.addAuthor(i18n("Montel Laurent"), QString(), QStringLiteral(""));
KMenuApplication app(argc, argv);
KDBusService service(KDBusService::Unique);
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