summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qhash
diff options
context:
space:
mode:
authorZhang Yu <zhangyub@uniontech.com>2020-11-08 21:12:40 +0800
committerZhang Yu <zhangyub@uniontech.com>2020-11-09 15:01:33 +0000
commitf353519e78380c04cffecfa4ceef222f37e8d83a (patch)
tree212b68cf4c4b4de8f8ab7595a6308ed225e68575 /tests/auto/corelib/tools/qhash
parent8b086b49b48e7c69413ce08aa534378e54633fe4 (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