ProjectManagers: Update project languages based on data sent to the codemodel

Change-Id: Iecf61f66389fff6f3995c4f4bc893ffd190c50e6
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2013-04-10 14:45:47 +02:00
parent 920e7ca1f1
commit aff2518bd7
7 changed files with 46 additions and 4 deletions

View File

@@ -293,6 +293,7 @@ void GenericProject::refresh(RefreshOptions options)
}
pinfo.appendProjectPart(part);
setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !part->files.isEmpty());
modelManager->updateProjectInfo(pinfo);
m_codeModelFuture = modelManager->updateSourceFiles(filesToUpdate);