summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorplugin.cpp
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/pythoneditor/pythoneditorplugin.cpp
parent15673b6eca08e0c2b2e62a8c13f5cb40b88cb618 (diff)
downloadqt-creator-09372918c185ad096ec176c8f44b48ba0e92f9bd.tar.gz
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/pythoneditor/pythoneditorplugin.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorplugin.cpp b/src/plugins/pythoneditor/pythoneditorplugin.cpp
index dfd9c6a50e..b937f9c89e 100644
--- a/src/plugins/pythoneditor/pythoneditorplugin.cpp
+++ b/src/plugins/pythoneditor/pythoneditorplugin.cpp
@@ -471,7 +471,7 @@ class PythonFileNode : public FileNode
public:
PythonFileNode(const Utils::FileName &filePath, const QString &nodeDisplayName,
FileType fileType = FileType::Source)
- : FileNode(filePath, fileType, false)
+ : FileNode(filePath, fileType)
, m_displayName(nodeDisplayName)
{}