forked from qt-creator/qt-creator
ProjectExplorer: Apply static pattern to ProjectExplorerPlugin
Adjust caller sites and surroundings. Change-Id: I6c3c80e42f35eabedc1f89c8c42cca1025aca12f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -85,7 +85,7 @@ void CMakeEditor::finalizeInitialization()
|
||||
foreach (Project *p, SessionManager::projects()) {
|
||||
if (CMakeProject *cmakeProject = qobject_cast<CMakeProject *>(p)) {
|
||||
if (cmakeProject->isProjectFile(document->filePath())) {
|
||||
ProjectExplorerPlugin::instance()->buildProject(cmakeProject);
|
||||
ProjectExplorerPlugin::buildProject(cmakeProject);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user