ProjectExplorer: Introduce per-buildsystem setRootProjectNode

Currently diverting to the original Project::setRootProjectNode.
Idea is to focus on the BuildSystem <-> generated tree relation.

Change-Id: I8b20173e364713f0919cf4f8b76a2f79ef8770bb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-11-20 15:21:54 +01:00
parent 7dec498323
commit 738bbf1a87
11 changed files with 16 additions and 9 deletions

View File

@@ -146,7 +146,7 @@ void AutotoolsBuildSystem::makefileParsingFinished()
newRoot->addNestedNode(std::make_unique<FileNode>(path,
FileNode::fileTypeForFileName(path)));
}
project()->setRootProjectNode(std::move(newRoot));
setRootProjectNode(std::move(newRoot));
project()->setExtraProjectFiles(filesToWatch);
updateCppCodeModel();