diff options
author | Wojciech Smigaj <w.smigaj@gmail.com> | 2021-07-10 22:34:36 +0100 |
---|---|---|
committer | Wojciech Smigaj <w.smigaj@gmail.com> | 2021-07-15 19:45:03 +0000 |
commit | 9d3100ff1e5837f115d26806b465e1265e6f9dd3 (patch) | |
tree | 5ee1962add5ee13b37ae2ec9dd1b1c881754b1cc /src/libs/utils/utils.qbs | |
parent | f29d7b896f4757719c68b5ed14235ea64f4124cd (diff) |
ProjectTree: Merge descendants of hidden Sources and Headers virtual folders
Unchecking the recently added "Show Source and Header Groups" option removes
the Sources and Headers virtual folders from the Projects tree. This patch
additionally merges descendants of these folders with identical priorities,
display names and file paths.
For example, if a project contains a folder including both source and header
files, both the Sources and Headers virtual folders will have child nodes
representing that folder. Previously, unchecking "Show Source and Header
Groups" kept both these identically named nodes in the Projects tree (one
containing sources, the other headers). With this patch, these nodes are
merged into a single node containing both sources and headers.
Change-Id: I4786eee4a528ea141a7fe117e14a050f68411890
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libs/utils/utils.qbs')
-rw-r--r-- | src/libs/utils/utils.qbs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/utils.qbs b/src/libs/utils/utils.qbs index d9211602086..7a78cb1f414 100644 --- a/src/libs/utils/utils.qbs +++ b/src/libs/utils/utils.qbs @@ -149,6 +149,7 @@ Project { "icon.h", "id.cpp", "id.h", + "indexedcontainerproxyconstiterator.h", "infobar.cpp", "infobar.h", "infolabel.cpp", |