CppTools: Remove excess call to ProjectPart::updateLanguageFeatures

It is already called by BaseProjectPartBuilder::createProjectPart().
Besides ProjectInfo::finish() should not modify the project parts.

Change-Id: I4dc8276c94574a01432b7f98b9284e3bdf1b9f0b
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2017-01-16 10:00:10 +01:00
parent 4a26a2c283
commit 32094eeb18
2 changed files with 2 additions and 2 deletions

View File

@@ -112,8 +112,6 @@ void ProjectInfo::finish()
QSet<ProjectPartHeaderPath> uniqueHeaderPaths;
foreach (const ProjectPart::Ptr &part, m_projectParts) {
part->updateLanguageFeatures();
// Update header paths
foreach (const ProjectPartHeaderPath &headerPath, part->headerPaths) {
const int count = uniqueHeaderPaths.count();