Commit 8a7a80b7 authored by David Faure's avatar David Faure

Call QCLP::parse rather than process in the slot connected to activateRequested

Otherwise a wrong command-line would make an already-running process exit.
parent 7a771197
......@@ -60,7 +60,7 @@ QCommandLineParser *Application::cmdParser()
void Application::activate(const QStringList& args, const QString &workingDirectory)
mCmdParser.process( args );
mCmdParser.parse( args );
QStringList urls = mCmdParser.positionalArguments();
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