Commit 0df40779 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Kdelibs4ConfigMigrator was removed in qt6

parent a9564def
Pipeline #125101 passed with stage
in 1 minute and 20 seconds
......@@ -12,7 +12,9 @@
#include <KLocalizedString>
#include <KCrash>
#include <KDBusService>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include "highscores.h"
#include "mainwindow.h"
......@@ -25,10 +27,12 @@ int main(int argc, char **argv)
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication application(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("kreversi"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kreversirc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kreversiui.rc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("kreversi");
KAboutData aboutData(QStringLiteral("kreversi"), i18n("KReversi"),
......
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