forked from qt-creator/qt-creator
ProjectExplorer: Remove FileNode's isGenerated constructor bool
Use setter of base class, similar to setListInProject() before. Change-Id: Id620f0084a5dec0410f29c80f8f6393a6bcd5050 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -211,8 +211,8 @@ void AutotoolsProject::makefileParsingFinished()
|
||||
auto newRoot = std::make_unique<AutotoolsProjectNode>(projectDirectory());
|
||||
for (const QString &f : m_files) {
|
||||
const Utils::FileName path = Utils::FileName::fromString(f);
|
||||
newRoot->addNestedNode(std::make_unique<FileNode>(path, FileNode::fileTypeForFileName(path),
|
||||
false));
|
||||
newRoot->addNestedNode(std::make_unique<FileNode>(path,
|
||||
FileNode::fileTypeForFileName(path)));
|
||||
}
|
||||
setRootProjectNode(std::move(newRoot));
|
||||
|
||||
|
Reference in New Issue
Block a user