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

Add command line

parent 1f33d922
......@@ -23,6 +23,7 @@
#include <QApplication>
#include <QLoggingCategory>
#include <QCommandLineParser>
#include <KAboutData>
#include <KCrash>
......@@ -74,6 +75,10 @@ int main(int argc, char **argv)
about.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
KAboutData::setApplicationData(about);
QCommandLineParser parser;
about.setupCommandLine(&parser);
parser.process(app);
about.processCommandLine(&parser);
KCrash::initialize();
......
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