summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2015-06-16 11:48:45 +0200
committerhjk <hjk@theqtcompany.com>2015-06-17 09:39:21 +0000
commitbea726e8e2948b1ccfe2b94e6dd0ac0c81957d9e (patch)
treea7675873230ec1e63b1fe562bddb15d44c291ffd /src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
parent8ee5b1c22ed0085ca6ee4a4e184c4affdb528bb3 (diff)
downloadqt-creator-bea726e8e2948b1ccfe2b94e6dd0ac0c81957d9e.tar.gz
Analyzer: Replace StartMode with a useStartupProject boolean
This is what it is on the top level. The change makes it obvious that in the valgrind(-derived) plugins the value is later wrongly used to make a decision on whether to run the valgrind process locally or remotely. But that's isolated in valgrind now and can be fixed there. Change-Id: I6fa5e669dec1f9e2cdebe42a1591d15144082a21 Reviewed-by: Anton Kreuzkamp <anton.kreuzkamp@kdab.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxanalyzesupport.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxanalyzesupport.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp b/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
index 0d8f4c7f41..ea2020e15e 100644
--- a/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
+++ b/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp
@@ -78,8 +78,6 @@ AnalyzerStartParameters RemoteLinuxAnalyzeSupport::startParameters(const RunConf
RunMode runMode)
{
AnalyzerStartParameters params;
- if (runMode == QmlProfilerRunMode)
- params.startMode = StartLocal;
params.runMode = runMode;
params.connParams = DeviceKitInformation::device(runConfig->target()->kit())->sshParameters();
params.displayName = runConfig->displayName();