forked from qt-creator/qt-creator
ProjectExplorer: List foldernodes in project as well
List folder nodes (e.g. used for QRC files) in Project::files(...). Task-number: QTCREATORBUG-20220 Change-Id: I9879d79530fd78a6b0976fe7fdb45a23d2d9c553 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -89,7 +89,7 @@ namespace ProjectExplorer {
|
|||||||
|
|
||||||
static bool isListedFileNode(const Node *node)
|
static bool isListedFileNode(const Node *node)
|
||||||
{
|
{
|
||||||
return node->asContainerNode() || (node->nodeType() == NodeType::File && node->listInProject());
|
return node->asContainerNode() || node->listInProject();
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool nodeLessThan(const Node *n1, const Node *n2)
|
static bool nodeLessThan(const Node *n1, const Node *n2)
|
||||||
|
Reference in New Issue
Block a user