diff options
author | hjk <hjk@qt.io> | 2019-02-25 12:08:58 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-02-25 12:23:31 +0000 |
commit | 09372918c185ad096ec176c8f44b48ba0e92f9bd (patch) | |
tree | ea0b4375c6f7042138e5db30530420a39f068e2a /src/plugins/autotoolsprojectmanager | |
parent | 15673b6eca08e0c2b2e62a8c13f5cb40b88cb618 (diff) |
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>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autotoolsproject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp index a4f0b40433..5f7f4229c2 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp @@ -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)); |