Debugger: Avoid warnings from debugger when using -client.

Do not parse options if empty (when a file was passed to
the core).

Reviewed-by: Thorbjørn <thorbjorn.lindeijer@nokia.com>
This commit is contained in:
Friedemann Kleint
2010-10-29 13:48:14 +02:00
parent 995dfff23a
commit 9c9a630da9

View File

@@ -2868,6 +2868,9 @@ bool DebuggerPlugin::hasSnapsnots() const
void DebuggerPlugin::remoteCommand(const QStringList &options, const QStringList &)
{
if (options.isEmpty())
return;
unsigned enabledEngines = 0;
QString errorMessage;
bool success = false;