Commit 3114021e authored by David Faure's avatar David Faure

Call QCLP parse rather than process, as documented in KDBusService.

Doesn't change behaviour in practice here, because process is already
called in all cases at the beginning of the method (=> double parsing
of arguments, a bit unusual)
parent 0c68e71e
......@@ -126,7 +126,7 @@ int main(int argc, char** argv)
if (arguments.isEmpty())
return;
QScopedPointer<QCommandLineParser> parser(createParser());
parser->process(arguments);
parser->parse(arguments);
processArgs(parser.data(), mainWindow);
});
......
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