forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user