Commit 1635186b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Kdelibs4ConfigMigrator was removed in qt6

parent 6f832785
Pipeline #125090 passed with stage
in 1 minute and 6 seconds
......@@ -15,7 +15,9 @@
#include <KAboutData>
#include <QApplication>
#include <QCommandLineParser>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include <Kdelibs4ConfigMigrator>
#endif
#include <KCrash>
#include "kbbmainwindow.h"
......@@ -31,11 +33,12 @@ int main( int argc, char **argv )
#endif
QApplication application(argc, argv);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
Kdelibs4ConfigMigrator migrate(QStringLiteral("kblackbox"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kblackboxrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kblackboxui.rc"));
migrate.migrate();
#endif
KLocalizedString::setApplicationDomain("kblackbox");
KAboutData aboutData( QStringLiteral("kblackbox"), i18n("KBlackBox"), QStringLiteral(KBLACKBOX_VERSION_STRING), i18n("Find the balls hidden in the black box by shooting laser beams!"), KAboutLicense::GPL, i18n("(c) 2007, Nicolas Roffet\n(c) 1999-2000, Robert Cimrman"));
aboutData.addAuthor(i18n("Nicolas Roffet"),i18n("Developer of version 0.4."), QStringLiteral("nicolas-kde@roffet.com"));
......
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