diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2017-05-03 12:20:10 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2017-05-04 09:16:27 +0000 |
commit | 175643fd7e47379e2bbcb19de452bfe683b0e6d5 (patch) | |
tree | 737413b3b5fa67eead122cc9de4134cfa3600acf /src/plugins/projectexplorer/projectnodes.h | |
parent | 9ae5591956b261c969d454e792a3e887bdfadea6 (diff) |
ProjectNodes: Do not define a copy constructor for FileNode
Nodes are QObjects (still), so they should not have a copy constructor.
Change-Id: I1b20663ee0ec121cda4d39ced7a9f204fb4621a1
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r-- | src/plugins/projectexplorer/projectnodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index d82c02f53c..5974e33ae8 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -168,7 +168,8 @@ class PROJECTEXPLORER_EXPORT FileNode : public Node { public: FileNode(const Utils::FileName &filePath, const FileType fileType, bool generated, int line = -1); - FileNode(const FileNode &other) : FileNode(other.filePath(), other.fileType(), true) {} + + FileNode *clone() const; FileType fileType() const; bool isGenerated() const; |