diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-03-21 17:51:54 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-03-29 18:16:50 +0000 |
commit | 1d537071dea5668df991b0ccb82f14a5880b62c9 (patch) | |
tree | bbafda515a3ae92982894253d2ef287d924e71e8 /examples/widgets/itemviews | |
parent | 04b93bfb2127a88f35d2b251e900163f982e7cfe (diff) |
rcc: prune dead wildcard matching code
clearly, rcc was meant to support wildcard patterns in <file> entries.
however, since its inception, this code was broken: the exists() check
was done first, so the decomposition into path and wildcard would never
happen.
as actually supporting wildcards woulds just complicate matters, simply
remove that dead code.
on the way, re-arrange the code in a way that is advantageous for
subsequent changes, and insert a case that catches non-regular file
nodes (this would have previously run into the wildcard code).
Change-Id: Iac1a168b844ef5b176f6cc45d6a779fde0bec6f7
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'examples/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions