Commit 224acfb0 authored by hjk's avatar hjk

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: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent efad927f
......@@ -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(' '));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment