Commit 4574f37a authored by Laurent Montel's avatar Laurent Montel
Browse files

Kdelibs4ConfigMigrator will be removed in qt6

parent 9241428e
Pipeline #125549 passed with stage
in 1 minute and 3 seconds
......@@ -9,7 +9,9 @@
#include <KAboutData>
#include <KLocalizedString>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <kdbusservice.h>
#include "kmenuedit.h"
......@@ -34,12 +36,13 @@ public:
int main(int argc, char **argv)
{
KMenuApplication app(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("kmenuedit"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kmenueditrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kmenueditui.rc"));
migrate.migrate();
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
KLocalizedString::setApplicationDomain("kmenuedit");
KAboutData aboutData(QStringLiteral("kmenuedit"),
......
Supports Markdown
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