summaryrefslogtreecommitdiff
path: root/src/plugins/android
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-08-08 14:09:50 +0200
committerUlf Hermann <ulf.hermann@qt.io>2017-08-08 13:57:38 +0000
commit8b5582c4248d8c06eb3a39127fdf0580bf2de5d0 (patch)
treee2977b2ac462460eef643f17e499e2af8a206c27 /src/plugins/android
parent376b1f32dc683bf34ab9cf81e95745cae3adfbe1 (diff)
downloadqt-creator-8b5582c4248d8c06eb3a39127fdf0580bf2de5d0.tar.gz
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/android')
-rw-r--r--src/plugins/android/androidanalyzesupport.cpp4
-rw-r--r--src/plugins/android/androiddebugsupport.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/android/androidanalyzesupport.cpp b/src/plugins/android/androidanalyzesupport.cpp
index eaea7196ba..59ccb047ca 100644
--- a/src/plugins/android/androidanalyzesupport.cpp
+++ b/src/plugins/android/androidanalyzesupport.cpp
@@ -37,10 +37,10 @@ AndroidQmlProfilerSupport::AndroidQmlProfilerSupport(RunControl *runControl)
setDisplayName("AndroidQmlProfilerSupport");
auto runner = new AndroidRunner(runControl);
- addDependency(runner);
+ addStartDependency(runner);
auto profiler = runControl->createWorker(runControl->runMode());
- profiler->addDependency(this);
+ profiler->addStartDependency(this);
connect(runner, &AndroidRunner::qmlServerReady, [this, runner, profiler](const QUrl &server) {
profiler->recordData("QmlServerUrl", server);
diff --git a/src/plugins/android/androiddebugsupport.cpp b/src/plugins/android/androiddebugsupport.cpp
index 31f7f304ae..92b80cf2cf 100644
--- a/src/plugins/android/androiddebugsupport.cpp
+++ b/src/plugins/android/androiddebugsupport.cpp
@@ -99,7 +99,7 @@ AndroidDebugSupport::AndroidDebugSupport(RunControl *runControl)
{
setDisplayName("AndroidDebugger");
m_runner = new AndroidRunner(runControl);
- addDependency(m_runner);
+ addStartDependency(m_runner);
}
void AndroidDebugSupport::start()