summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <[email protected]>2016-04-28 02:22:40 +0200
committerFriedrich W. H. Kossebau <[email protected]>2016-04-28 02:22:40 +0200
commite0ab5daa53353ae2e47735b60c4540db601fd28b (patch)
tree8c3bdd88b0b5620cb9b8e38bb8558a932f5c225b
parenta0709e6e44f3e97af866213ae90c742126a2f0df (diff)
Have KAboutData also handle commandline parsing
-rw-r--r--src/apps/marble-kde/kdemain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apps/marble-kde/kdemain.cpp b/src/apps/marble-kde/kdemain.cpp
index 613e496..b0d8ad6 100644
--- a/src/apps/marble-kde/kdemain.cpp
+++ b/src/apps/marble-kde/kdemain.cpp
@@ -274,6 +274,7 @@ int main ( int argc, char *argv[] )
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
+ aboutData.setupCommandLine(&parser);
// Autodetect profiles
MarbleGlobal::Profiles profiles = MarbleGlobal::detectProfiles();
@@ -307,6 +308,7 @@ int main ( int argc, char *argv[] )
parser.addPositionalArgument("file", i18n( "One or more placemark files to be opened") );
parser.process( app );
+ aboutData.processCommandLine(&parser);
KLocalizedString::setApplicationDomain("marble");