diff options
authorBogDan Vatra <>2019-11-28 18:36:48 +0200
committerBogDan Vatra <>2019-11-29 18:25:02 +0000
commitd027860201c55b686b9f8330c559f84799442d68 (patch)
tree4068b206456d4047220cc5d9af358c7d2497cfb9 /LICENSE.QT-LICENSE-AGREEMENT
parentd463a63bb94d3f5c9530790541d9706490e44b3a (diff)
Fix assets iterator
- start from index -1 each time when we iterate. Each time when we add a FolderIterator to the stack we MUST reset the index (-1) otherwise it will continue from it's last position. To fix it we are cloning the FolderIterator to set the index to -1. The index must be -1 in order to set it to 0 when we first call next() method. - introduce "fileType" static method for a more reliable also much faster file type lookup. The old version of checking if a file exists, is a folder or a file was buggy that's why it skipped some file randomly. Fixes: QTBUG-80178 Change-Id: I4b28e4616399b1bff35d792b55ded1bf19b62dd9 Reviewed-by: Eskil Abrahamsen Blomfeldt <>
Diffstat (limited to 'LICENSE.QT-LICENSE-AGREEMENT')
0 files changed, 0 insertions, 0 deletions