Qbs: Move QbsBaseProjectNode::showInSimpleTree()

... to QbsGroupNode::showInSimpleTree(). It's the only subclass
that didn't re-implement it.

It's easier to reason about the actual value when the value isn't
flipped too often in the inheritance chain.

Change-Id: I61f6020acc95a3dc0383b44ad8d40ee39f923d0f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-02-25 17:45:35 +01:00
parent dac7d4962c
commit 5cc1aee7ff
2 changed files with 0 additions and 7 deletions

View File

@@ -258,11 +258,6 @@ QbsBaseProjectNode::QbsBaseProjectNode(const Utils::FileName &path) :
ProjectExplorer::ProjectNode(path) ProjectExplorer::ProjectNode(path)
{ } { }
bool QbsBaseProjectNode::showInSimpleTree() const
{
return false;
}
// -------------------------------------------------------------------- // --------------------------------------------------------------------
// QbsGroupNode: // QbsGroupNode:
// -------------------------------------------------------------------- // --------------------------------------------------------------------

View File

@@ -58,8 +58,6 @@ class QbsBaseProjectNode : public ProjectExplorer::ProjectNode
{ {
public: public:
explicit QbsBaseProjectNode(const Utils::FileName &absoluteFilePath); explicit QbsBaseProjectNode(const Utils::FileName &absoluteFilePath);
bool showInSimpleTree() const override;
}; };
// -------------------------------------------------------------------- // --------------------------------------------------------------------