forked from qt-creator/qt-creator
Analyzer: Merge Valgrind process classes
Change-Id: Ic2ef2304fb5524d07858052806124f6b02ca4dcb Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -216,10 +216,7 @@ void ValgrindRunner::waitForFinished() const
|
||||
|
||||
bool ValgrindRunner::start()
|
||||
{
|
||||
if (d->startMode == Analyzer::StartLocal)
|
||||
d->run(new LocalValgrindProcess(this));
|
||||
else if (d->startMode == Analyzer::StartRemote)
|
||||
d->run(new RemoteValgrindProcess(d->connParams, this));
|
||||
d->run(new ValgrindProcess(d->startMode == Analyzer::StartLocal, d->connParams, 0, this));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user