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

Remove twin qapplication

parent 1021e2f8
......@@ -60,14 +60,13 @@ int main(int argc, char **argv)
KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
QApplication app(argc, argv);
KAboutData::setApplicationData(aboutData);
parser.addVersionOption();
parser.addHelpOption();
parser.addOption(QCommandLineOption(QStringList() << QLatin1String("demo"), i18n("Start with demo game playing")));
aboutData.setupCommandLine(&parser);
parser.process(app);
parser.process(application);
aboutData.processCommandLine(&parser);
KDBusService service;
......
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