Valgrind: Postpone the decision on whether its a local run

The decision is wrong anyway, no harm done. Move it closer to a
location where it can be done correctly.

Change-Id: I92de8ffec92cae6b3de3322d5045b696ae62932f
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
hjk
2016-01-30 02:38:05 +01:00
parent 678d142497
commit 0ffbb5a041
4 changed files with 15 additions and 13 deletions

View File

@@ -182,7 +182,7 @@ void ValgrindRunner::waitForFinished() const
bool ValgrindRunner::start()
{
// FIXME: This wrongly uses "useStartupProject" for a Local/Remote decision.
d->run(new ValgrindProcess(d->useStartupProject, d->connParams, 0, this));
d->run(new ValgrindProcess(d->connParams, 0, this));
return true;
}