aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/resourceeditor
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-02-25 12:08:58 +0100
committerhjk <hjk@qt.io>2019-02-25 12:23:31 +0000
commit09372918c185ad096ec176c8f44b48ba0e92f9bd (patch)
treeea0b4375c6f7042138e5db30530420a39f068e2a /src/plugins/resourceeditor
parent15673b6eca08e0c2b2e62a8c13f5cb40b88cb618 (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/resourceeditor')
-rw-r--r--src/plugins/resourceeditor/resourcenode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/resourcenode.cpp b/src/plugins/resourceeditor/resourcenode.cpp
index 5276bb6929..ee2099bbc0 100644
--- a/src/plugins/resourceeditor/resourcenode.cpp
+++ b/src/plugins/resourceeditor/resourcenode.cpp
@@ -659,7 +659,7 @@ ResourceTopLevelNode *ResourceFolderNode::resourceNode() const
}
ResourceFileNode::ResourceFileNode(const FileName &filePath, const QString &qrcPath, const QString &displayName)
- : FileNode(filePath, FileNode::fileTypeForFileName(filePath), false)
+ : FileNode(filePath, FileNode::fileTypeForFileName(filePath))
, m_qrcPath(qrcPath)
, m_displayName(displayName)
{