diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-08-08 14:09:50 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-08-08 13:57:38 +0000 |
commit | 8b5582c4248d8c06eb3a39127fdf0580bf2de5d0 (patch) | |
tree | e2977b2ac462460eef643f17e499e2af8a206c27 /src/plugins/remotelinux | |
parent | 376b1f32dc683bf34ab9cf81e95745cae3adfbe1 (diff) |
ProjectExplorer: Rename worker dependencies to "startDependencies"
There will be stopDependencies, too, which apply when stopping the
runcontrol.
Change-Id: Id72771d28cbb6b254572c9f93db93e0d054b890f
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxanalyzesupport.cpp | 6 | ||||
-rw-r--r-- | src/plugins/remotelinux/remotelinuxdebugsupport.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp b/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp index 72a85f53e17..996e4e95279 100644 --- a/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp +++ b/src/plugins/remotelinux/remotelinuxanalyzesupport.cpp @@ -58,10 +58,10 @@ RemoteLinuxQmlProfilerSupport::RemoteLinuxQmlProfilerSupport(RunControl *runCont setDisplayName("RemoteLinuxQmlProfilerSupport"); m_portsGatherer = new PortsGatherer(runControl); - addDependency(m_portsGatherer); + addStartDependency(m_portsGatherer); m_profiler = runControl->createWorker(runControl->runMode()); - m_profiler->addDependency(this); + m_profiler->addStartDependency(this); } void RemoteLinuxQmlProfilerSupport::start() @@ -102,7 +102,7 @@ RemoteLinuxPerfSupport::RemoteLinuxPerfSupport(RunControl *runControl) .join(' '); auto toolRunner = runControl->createWorker(runControl->runMode()); - toolRunner->addDependency(this); + toolRunner->addStartDependency(this); // connect(&m_outputGatherer, &QmlDebug::QmlOutputParser::waitingForConnectionOnPort, // this, &RemoteLinuxPerfSupport::remoteIsRunning); diff --git a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp index 2d742832182..4ce28bbc165 100644 --- a/src/plugins/remotelinux/remotelinuxdebugsupport.cpp +++ b/src/plugins/remotelinux/remotelinuxdebugsupport.cpp @@ -57,9 +57,9 @@ LinuxDeviceDebugSupport::LinuxDeviceDebugSupport(RunControl *runControl) m_portsGatherer->setUseQmlServer(isQmlDebugging()); auto gdbServer = new GdbServerRunner(runControl, m_portsGatherer); - gdbServer->addDependency(m_portsGatherer); + gdbServer->addStartDependency(m_portsGatherer); - addDependency(gdbServer); + addStartDependency(gdbServer); RunConfiguration *runConfig = runControl->runConfiguration(); if (auto rlrc = qobject_cast<RemoteLinuxRunConfiguration *>(runConfig)) |