From 14c5637d68d73f94f3b65d5ab209ece6a44bcafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 27 May 2014 09:34:14 +0200 Subject: [PATCH] Add KAboutData's command line arguments to the QCommandLineParser This adds back --author and --license. --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 1593413d34..c22ad0d597 100644 --- a/main.cpp +++ b/main.cpp @@ -513,8 +513,10 @@ KWIN_EXPORT int kdemain(int argc, char * argv[]) parser.addOption(lockOption); parser.addOption(replaceOption); parser.addOption(crashesOption); + aboutData.setupCommandLine(&parser); parser.process(a); + aboutData.processCommandLine(&parser); KWin::Application::setCrashCount(parser.value(crashesOption).toInt()); a.setConfigLock(parser.isSet(lockOption));