forked from qt-creator/qt-creator
ProjectExplorer: Consolidate some Session::active* accesses
Change-Id: I47b0f6c2c60b2f7c86b6ffd1ad3df393d1321c8b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -558,7 +558,7 @@ ProjectExplorer::RunControl *QmlProfilerTool::attachToWaitingApplication()
|
||||
d->m_viewContainer->perspective()->select();
|
||||
|
||||
auto runControl = new RunControl(ProjectExplorer::Constants::QML_PROFILER_RUN_MODE);
|
||||
runControl->setRunConfiguration(RunConfiguration::startupRunConfiguration());
|
||||
runControl->setRunConfiguration(SessionManager::startupRunConfiguration());
|
||||
auto profiler = new QmlProfilerRunner(runControl);
|
||||
profiler->setServerUrl(serverUrl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user