Commit 73033e73 authored by Christoph Feck's avatar Christoph Feck

Add dummy QCommandLineParser so that --version works

parent 8f3aa115
......@@ -16,6 +16,7 @@
***************************************************************************/
#include <QApplication>
#include <QCommandLineParser>
#include <KAboutData>
#include <KLocalizedString>
......@@ -61,6 +62,11 @@ int main(int argc, char *argv[])
}
else
{
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
parser.process(app);
kmagapp = new KmagApp();
kmagapp->show();
}
......
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