Commit 0a7ee32c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary now

parent 125cabba
...@@ -84,8 +84,6 @@ foreach my $file (@ARGV) { ...@@ -84,8 +84,6 @@ foreach my $file (@ARGV) {
$_ .= " QApplication app(argc, argv); // PORTING SCRIPT: move this to before the KAboutData initialization\n"; $_ .= " QApplication app(argc, argv); // PORTING SCRIPT: move this to before the KAboutData initialization\n";
$_ .= " KAboutData::setApplicationData(aboutData);\n"; $_ .= " KAboutData::setApplicationData(aboutData);\n";
} }
$_ .= " parser.addVersionOption();\n";
$_ .= " parser.addHelpOption();\n";
if ( defined $use_aboutdata) { if ( defined $use_aboutdata) {
$_ .= " //PORTING SCRIPT: adapt aboutdata variable if necessary\n"; $_ .= " //PORTING SCRIPT: adapt aboutdata variable if necessary\n";
$_ .= " aboutData.setupCommandLine(&parser);\n"; $_ .= " aboutData.setupCommandLine(&parser);\n";
...@@ -157,8 +155,6 @@ foreach my $file (@ARGV) { ...@@ -157,8 +155,6 @@ foreach my $file (@ARGV) {
$_ .= " QCommandLineParser parser;\n"; $_ .= " QCommandLineParser parser;\n";
$_ .= " KAboutData::setApplicationData(aboutData);\n"; $_ .= " KAboutData::setApplicationData(aboutData);\n";
} }
$_ .= " parser.addVersionOption();\n";
$_ .= " parser.addHelpOption();\n";
if ( defined $use_aboutdata) { if ( defined $use_aboutdata) {
$_ .= " //PORTING SCRIPT: adapt aboutdata variable if necessary\n"; $_ .= " //PORTING SCRIPT: adapt aboutdata variable if necessary\n";
$_ .= " aboutData.setupCommandLine(&parser);\n"; $_ .= " aboutData.setupCommandLine(&parser);\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment