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

@@ -456,5 +456,7 @@ void AutotoolsProject::updateCppCodeModel()
modelManager->updateProjectInfo(pinfo);
modelManager->updateSourceFiles(m_files);
setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !part->files.isEmpty());
}
}