forked from qt-creator/qt-creator
ProjectExplorer: Add runStartupProject() convenience function
The usage pattern seems to be used often enough to justify a function. Change-Id: Iecdeb2b42879f419154902e685d0d13e8cae8b33 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
@@ -498,8 +498,7 @@ void QmlProfilerTool::startLocalTool()
|
||||
AnalyzerManager::showMode();
|
||||
|
||||
// ### not sure if we're supposed to check if the RunConFiguration isEnabled
|
||||
Project *pro = SessionManager::startupProject();
|
||||
ProjectExplorerPlugin::runProject(pro, QmlProfilerRunMode);
|
||||
ProjectExplorerPlugin::runStartupProject(QmlProfilerRunMode);
|
||||
}
|
||||
|
||||
void QmlProfilerTool::startRemoteTool()
|
||||
|
||||
Reference in New Issue
Block a user