diff options
author | hjk <hjk@qt.io> | 2017-02-23 11:00:35 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-02-23 15:21:18 +0000 |
commit | fd5e0a14863b77fdcbf91e89a8be4c66c13609fd (patch) | |
tree | 867facee4531a5283274b699dfb8ce9059977507 /src/plugins/projectexplorer/projectnodes.h | |
parent | 4f47a8d74572ad28bce44120d2afabc47738e27d (diff) |
ProjectExplorer: Remove Node::asSessionNode()
The only remaining uses could be removed or replaced by a
check for no parent node.
Change-Id: I13eba8ae418cf3d404bb3df7d389d72091af38d7
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r-- | src/plugins/projectexplorer/projectnodes.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index a69e874fd5..e613a35da4 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -142,8 +142,6 @@ public: virtual const FolderNode *asFolderNode() const { return nullptr; } virtual ProjectNode *asProjectNode() { return nullptr; } virtual const ProjectNode *asProjectNode() const { return nullptr; } - virtual SessionNode *asSessionNode() { return nullptr; } - virtual const SessionNode *asSessionNode() const { return nullptr; } static bool sortByPath(const Node *a, const Node *b); void setParentFolderNode(FolderNode *parentFolder); @@ -316,9 +314,6 @@ private: bool showInSimpleTree() const final; void projectDisplayNameChanged(Node *node); - - SessionNode *asSessionNode() final { return this; } - const SessionNode *asSessionNode() const final { return this; } }; } // namespace ProjectExplorer |