Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Dragon
Commits
1f848d7b
Commit
1f848d7b
authored
Feb 05, 2019
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to repeat work of KAboutData::setupCommandLine()
parent
46d7e734
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/app/main.cpp
src/app/main.cpp
+0
-2
No files found.
src/app/main.cpp
View file @
1f848d7b
...
@@ -63,8 +63,6 @@ int main( int argc, char **argv )
...
@@ -63,8 +63,6 @@ int main( int argc, char **argv )
QCommandLineParser
parser
;
QCommandLineParser
parser
;
aboutData
.
setupCommandLine
(
&
parser
);
aboutData
.
setupCommandLine
(
&
parser
);
parser
.
addVersionOption
();
parser
.
addHelpOption
();
parser
.
addOption
(
QCommandLineOption
(
"play-dvd"
,
i18n
(
"Play DVD Video"
)));
parser
.
addOption
(
QCommandLineOption
(
"play-dvd"
,
i18n
(
"Play DVD Video"
)));
parser
.
addPositionalArgument
(
"url"
,
i18n
(
"Play 'URL'"
),
QStringLiteral
(
"+[URL]"
));
parser
.
addPositionalArgument
(
"url"
,
i18n
(
"Play 'URL'"
),
QStringLiteral
(
"+[URL]"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment