Commit e443d476 authored by Laurent Montel's avatar Laurent Montel 😁

Migrate settings

parent 4a77c46a
......@@ -30,12 +30,17 @@
#include <highscores.h>
#include <mainwindow.h>
#include <QCommandLineOption>
#include <kdelibs4configmigrator.h>
static const char description[] = I18N_NOOP("KDE Reversi Board Game");
int main(int argc, char **argv)
{
QApplication application(argc, argv);
Kdelibs4ConfigMigrator migrate(QStringLiteral("kreversi"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kreversirc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kreversiui.rc"));
migrate.migrate();
KAboutData aboutData(i18n("kreversi"), i18n("KReversi"),
"2.0", i18n(description), KAboutLicense::GPL,
......
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