diff options
author | hjk <hjk@qt.io> | 2019-11-21 16:32:50 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-11-29 08:39:07 +0000 |
commit | c8137bdcf9c089f7fa1b22ae33fd5fdf351cad18 (patch) | |
tree | d0f1ca6b95c50173e5cf1635447d5bd4511c032d /src/plugins/qmlprofiler | |
parent | ea88ded3526ab695a85a714670cb8e79d058e030 (diff) |
ProjectExplorer: Consolidate some Session::active* accesses
Change-Id: I47b0f6c2c60b2f7c86b6ffd1ad3df393d1321c8b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilertool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilertool.cpp b/src/plugins/qmlprofiler/qmlprofilertool.cpp index 8348acb6de..c14d60d384 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.cpp +++ b/src/plugins/qmlprofiler/qmlprofilertool.cpp @@ -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); |