qt6-bb10/tests/auto/corelib/itemmodels
Samuel Gaist bcbbbdb2d6 Fix case sensitivity handling QSFPM
This patch fixes the breaking of case sensitivity handling. The removal
of QRegExp killed the wrong code paths which leads to inconsistencies
when changing the regular expression throuh methods like
setFilterWildCard or setFilterFixedString. Changing the case sensitivity
also nukes the original options that were set on the regular expression
if it was set through setFilterRegularExpression.

[ChangeLog][QtCore][QSortFilterProxyModel] Case sensitivity as well as
regular expression options handling have been fixed. The original value
is properly kept when using setFilterWildCard and setFilterFixedString.
The regular expression options are now also properly kept when changing
the case senstitivity through setFilterCaseSensitivity.

Fixes: QTBUG-92260
Pick-to: 6.1
Pick-to: 6.0
Change-Id: Ifb4732306f0c7d79ad0b18d3f5437c4523bb40e5
Reviewed-by: Igor Kushnir <igorkuo@gmail.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2021-04-22 08:21:41 +02:00
..
qabstractitemmodel Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
qabstractproxymodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
qconcatenatetablesproxymodel Fix get out of bounds index in QSortFilterProxyModel::filterAcceptsRow 2021-04-07 19:30:08 +08:00
qidentityproxymodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemmodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemselectionmodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsortfilterproxymodel_common Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
qsortfilterproxymodel_recursive Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsortfilterproxymodel_regularexpression Fix case sensitivity handling QSFPM 2021-04-22 08:21:41 +02:00
qstringlistmodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtransposeproxymodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00