diff options
Diffstat (limited to 'src/plugins/android/androidqmltoolingsupport.cpp')
-rw-r--r-- | src/plugins/android/androidqmltoolingsupport.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/android/androidqmltoolingsupport.cpp b/src/plugins/android/androidqmltoolingsupport.cpp index b304fbde72..5a2ef0ee71 100644 --- a/src/plugins/android/androidqmltoolingsupport.cpp +++ b/src/plugins/android/androidqmltoolingsupport.cpp @@ -40,11 +40,11 @@ AndroidQmlToolingSupport::AndroidQmlToolingSupport(RunControl *runControl, auto runner = new AndroidRunner(runControl, intentName); addStartDependency(runner); - auto profiler = runControl->createWorker(runControl->runMode()); - profiler->addStartDependency(this); + auto worker = runControl->createWorker(QmlDebug::runnerIdForRunMode(runControl->runMode())); + worker->addStartDependency(this); - connect(runner, &AndroidRunner::qmlServerReady, this, [this, profiler](const QUrl &server) { - profiler->recordData("QmlServerUrl", server); + connect(runner, &AndroidRunner::qmlServerReady, this, [this, worker](const QUrl &server) { + worker->recordData("QmlServerUrl", server); reportStarted(); }); } |