diff options
author | Zhang Yu <zhangyub@uniontech.com> | 2020-11-08 21:12:40 +0800 |
---|---|---|
committer | Zhang Yu <zhangyub@uniontech.com> | 2020-11-09 15:01:33 +0000 |
commit | f353519e78380c04cffecfa4ceef222f37e8d83a (patch) | |
tree | 212b68cf4c4b4de8f8ab7595a6308ed225e68575 /tests/auto/corelib/tools/qhash | |
parent | 8b086b49b48e7c69413ce08aa534378e54633fe4 (diff) |
Fix regular expression initialize with incorrect filters
The filters used to construct regular expression is the parameter of
QDirIteratorPrivate constructor,and not the member variable
'filters' of QDirIteratorPrivate.
When using filters as QDir::NoFilter to construct QDirIteratorPrivate,
then the regular expression will incorrectly initialize with
QDir::CaseSensitive(result of QDir::NoFilter),and not
Qt::CaseInsensitive(result of QDir::AllEntries).
Therefore, using the '_filters' to replace the parameter 'filters'
Fixes: QTBUG-88227
Pick-to: 5.15
Change-Id: I8a21fe1075fd95981e328a161a978e4fe546c9ca
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/qhash')
0 files changed, 0 insertions, 0 deletions