forked from qt-creator/qt-creator
Valgrind: Remove one use of AnalyzerStartParameters::useStartupProject
That information is now passed directly to the RunControl after its construction (and is still wrongly used afterwards to distinguish local from remote runs) Change-Id: Ifa21eea9f33b2602912cd3b1b2e884da4f53c0d9 Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -97,7 +97,6 @@ RunControl *ValgrindRunControlFactory::create(RunConfiguration *runConfiguration
|
||||
sp.localRunMode = static_cast<ApplicationLauncher::Mode>(rc1->runMode());
|
||||
} else if (RemoteLinux::AbstractRemoteLinuxRunConfiguration *rc2 =
|
||||
qobject_cast<RemoteLinux::AbstractRemoteLinuxRunConfiguration *>(runConfiguration)) {
|
||||
sp.useStartupProject = false; // FIXME: This is wrong.
|
||||
sp.debuggee = rc2->remoteExecutableFilePath();
|
||||
sp.connParams = DeviceKitInformation::device(rc2->target()->kit())->sshParameters();
|
||||
sp.debuggeeArgs = rc2->arguments().join(QLatin1Char(' '));
|
||||
|
Reference in New Issue
Block a user