diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2023-03-07 13:19:50 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2023-03-09 18:26:59 +0100 |
commit | 7261a2298734d4d4844d7ff34592378410293664 (patch) | |
tree | e1ebb2bf09c21bbb00c089a225a97b1ae1f1cada /examples/qtconcurrent/imagescaling/doc/images/imagescaling_example.png | |
parent | 057a3ddc174d7d99c8aa6f43003fd98542a79386 (diff) |
QAbstractItemModel: fix match() with Qt::MatchWildcard
QAIM::match() supports different matching modes. The wildcard match mode
was never meant to be specifically a filepath globbing wildcard, but
rather a generic one -- something like "*" should match into a
string like "a/b/c". This is a regression from Qt 5, where
QRegExp::Wildcard was ported to only allow for path globbing
rather than generic matching.
[ChangeLog][QtCore][QAbstractItemModel] QAbstractItemModel::match()
now uses more generic wildcard matches rather than file path globbing.
Please refer to the documentation of
QRegularExpression::wildcardToRegularExpression() for more information
about the differences.
Change-Id: I28b8a76b01fdd9c5dd8f99528fac1c7b704564bc
Fixes: QTBUG-104585
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/qtconcurrent/imagescaling/doc/images/imagescaling_example.png')
0 files changed, 0 insertions, 0 deletions