summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-11 09:06:17 +0200
committerMontel Laurent <[email protected]>2017-10-11 09:06:17 +0200
commit39c4cdbb0a97ed3f3ed79a1c6cda4698a35d809b (patch)
tree584242ef829021f227f39bf606491787da0f6d63
parent6bc9d0d98cd3ee68209ab043dd08ee6adb047f8a (diff)
Don't repeat work of KAboutData::setupCommandLine().
-rw-r--r--src/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3ae0e23..70ec634 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -58,8 +58,6 @@ int main(int argc, char **argv)
KCrash::initialize();
QCommandLineParser parser;
- parser.addVersionOption();
- parser.addHelpOption();
aboutData.setupCommandLine(&parser);
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("remote"), QStringLiteral("Connect to an Akonadi remote debugging server"), QStringLiteral("server")));