aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/projectnodes.h
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-08-17 12:56:15 +0200
committerRobert Loehning <robert.loehning@qt.io>2017-08-18 12:28:45 +0000
commitb9167a192f99940a30aca5d8dbb69207c90d2fc7 (patch)
treec0a0bd7ec8d995c38fe355db4bd88956c4e5690f /src/plugins/projectexplorer/projectnodes.h
parent8353d76df4238d4979953974dbc434c01c2a44fb (diff)
ProjectExplorer: Don't hide empty resource files like empty directories
Task-number: QTCREATORBUG-18748 Change-Id: I4de59743c42b99ce0b402f814b4cd0ba5d299338 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectnodes.h')
-rw-r--r--src/plugins/projectexplorer/projectnodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h
index eaebb6ae8d..376e50192f 100644
--- a/src/plugins/projectexplorer/projectnodes.h
+++ b/src/plugins/projectexplorer/projectnodes.h
@@ -272,6 +272,8 @@ public:
// determines if node will be shown in the flat view, by default folder and projects aren't shown
virtual bool showInSimpleTree() const;
+ // determines if node will always be shown when hiding empty directories
+ virtual bool showWhenEmpty() const;
void addNode(Node *node);
void removeNode(Node *node);