forked from qt-creator/qt-creator
Debugger: Move startupRunConfiguration to RunConfiguration
It's not really debugger-specific. Change-Id: I2246e08d896df1d625ecce9b8b5428e7ea398851 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -587,8 +587,8 @@ void QmlProfilerTool::attachToWaitingApplication()
|
||||
|
||||
Debugger::selectPerspective(Constants::QmlProfilerPerspectiveId);
|
||||
|
||||
RunConfiguration *rc = Debugger::startupRunConfiguration();
|
||||
auto runControl = new RunControl(rc, ProjectExplorer::Constants::QML_PROFILER_RUN_MODE);
|
||||
auto runConfig = RunConfiguration::startupRunConfiguration();
|
||||
auto runControl = new RunControl(runConfig, ProjectExplorer::Constants::QML_PROFILER_RUN_MODE);
|
||||
auto profiler = new QmlProfilerRunner(runControl);
|
||||
profiler->setServerUrl(serverUrl);
|
||||
|
||||
|
Reference in New Issue
Block a user