forked from qt-creator/qt-creator
		
	ProjectTree: Change hasBuildTargets to FolderNode::showInSimpleTree
So that the resource node can override it. Task-number: QTCREATORBUG-11678 Change-Id: Id30d1b99ee23cc18fc29fc99cf0ad7ca919ed527 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
		@@ -250,7 +250,7 @@ QbsBaseProjectNode::QbsBaseProjectNode(const QString &path) :
 | 
			
		||||
    ProjectExplorer::ProjectNode(path)
 | 
			
		||||
{ }
 | 
			
		||||
 | 
			
		||||
bool QbsBaseProjectNode::hasBuildTargets() const
 | 
			
		||||
bool QbsBaseProjectNode::showInSimpleTree() const
 | 
			
		||||
{
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
@@ -493,7 +493,7 @@ bool QbsProductNode::isEnabled() const
 | 
			
		||||
    return m_qbsProductData.isEnabled();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool QbsProductNode::hasBuildTargets() const
 | 
			
		||||
bool QbsProductNode::showInSimpleTree() const
 | 
			
		||||
{
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
@@ -666,6 +666,11 @@ const qbs::ProjectData QbsProjectNode::qbsProjectData() const
 | 
			
		||||
    return m_qbsProjectData;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool QbsProjectNode::showInSimpleTree() const
 | 
			
		||||
{
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void QbsProjectNode::ctor()
 | 
			
		||||
{
 | 
			
		||||
    if (m_projectIcon.isNull())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user