forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user