Commit c7398836 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Show command line

parent 8ffb0527
......@@ -24,6 +24,9 @@
#include "mainwindow.h"
#include <KDBusService>
#include <QCommandLineParser>
static const char description[] =
I18N_NOOP("KNetWalk, a game for system administrators.");
......@@ -75,6 +78,11 @@ int main(int argc, char ** argv)
about.setProductName(QByteArray("knetwalk"));
KAboutData::setApplicationData(about);
QCommandLineParser parser;
about.setupCommandLine(&parser);
parser.process(app);
about.processCommandLine(&parser);
KCrash::initialize();
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