debugger: fix recent regression in command line parsing

A -debug <pid> or -debug core=... wasn't properly handled anymore.

Change-Id: Ia976eccc0924e8e22168d8be35d7c24e1d566487
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-09-21 12:50:40 +02:00
parent 7f9e9d226c
commit 2f3b010d4b

View File

@@ -1458,7 +1458,7 @@ bool DebuggerPluginPrivate::parseArgument(QStringList::const_iterator &it,
}
}
}
if (fillParameters(&sp, kit, errorMessage))
if (!fillParameters(&sp, kit, errorMessage))
return false;
if (sp.startMode == StartExternal) {
sp.displayName = tr("Executable file \"%1\"").arg(sp.executable);