analyzer: merge start and startRemote partially

Change-Id: Iaa837f5bc696af7e71bbed128b9a5c8c46e512c7
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-10-20 16:07:50 +02:00
committed by hjk
parent 84cce9dc0e
commit 2c2a8a7889
7 changed files with 138 additions and 120 deletions

View File

@@ -103,6 +103,8 @@ bool ValgrindEngine::start()
runner()->setDebuggeeExecutable(sp.debuggee);
runner()->setDebuggeeArguments(sp.debuggeeArgs);
runner()->setEnvironment(sp.environment);
runner()->setConnectionParameters(sp.connParams);
runner()->setStartMode(sp.startMode);
connect(runner(), SIGNAL(processOutputReceived(QByteArray,Utils::OutputFormat)),
SLOT(receiveProcessOutput(QByteArray,Utils::OutputFormat)));
@@ -111,10 +113,7 @@ bool ValgrindEngine::start()
connect(runner(), SIGNAL(finished()),
SLOT(runnerFinished()));
if (sp.startMode == StartRemote)
runner()->startRemotely(sp.connParams);
else
runner()->start();
runner()->start();
return true;
}