forked from qt-creator/qt-creator
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:
@@ -258,11 +258,6 @@ QbsBaseProjectNode::QbsBaseProjectNode(const Utils::FileName &path) :
|
|||||||
ProjectExplorer::ProjectNode(path)
|
ProjectExplorer::ProjectNode(path)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
bool QbsBaseProjectNode::showInSimpleTree() const
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
// QbsGroupNode:
|
// QbsGroupNode:
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
@@ -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;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user