forked from qt-creator/qt-creator
Android: Rename a 'profiler' to 'worker'
Also used for the preview runner. Change-Id: I3f8ba0890bc36799bddcf1137bd98a2b6d851382 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -40,11 +40,11 @@ AndroidQmlToolingSupport::AndroidQmlToolingSupport(RunControl *runControl,
|
||||
auto runner = new AndroidRunner(runControl, intentName);
|
||||
addStartDependency(runner);
|
||||
|
||||
auto profiler = runControl->createWorker(QmlDebug::runnerIdForRunMode(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();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user