Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
KDE Development Scripts
Commits
0a7ee32c
Commit
0a7ee32c
authored
Jan 15, 2020
by
Laurent Montel
Browse files
Not necessary now
parent
125cabba
Changes
1
Hide whitespace changes
Inline
Side-by-side
kf5/convert-kcmdlineargs.pl
View file @
0a7ee32c
...
...
@@ -84,8 +84,6 @@ foreach my $file (@ARGV) {
$_
.=
"
QApplication app(argc, argv); // PORTING SCRIPT: move this to before the KAboutData initialization
\n
";
$_
.=
"
KAboutData::setApplicationData(aboutData);
\n
";
}
$_
.=
"
parser.addVersionOption();
\n
";
$_
.=
"
parser.addHelpOption();
\n
";
if
(
defined
$use_aboutdata
)
{
$_
.=
"
//PORTING SCRIPT: adapt aboutdata variable if necessary
\n
";
$_
.=
"
aboutData.setupCommandLine(&parser);
\n
";
...
...
@@ -157,8 +155,6 @@ foreach my $file (@ARGV) {
$_
.=
"
QCommandLineParser parser;
\n
";
$_
.=
"
KAboutData::setApplicationData(aboutData);
\n
";
}
$_
.=
"
parser.addVersionOption();
\n
";
$_
.=
"
parser.addHelpOption();
\n
";
if
(
defined
$use_aboutdata
)
{
$_
.=
"
//PORTING SCRIPT: adapt aboutdata variable if necessary
\n
";
$_
.=
"
aboutData.setupCommandLine(&parser);
\n
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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