qt5base-lts/tests/auto/corelib/itemmodels
Christian Ehrlicher cdc608359a QSortFilterProxyModel test: fix failing appearsAndSort
Testcase appearsAndSort failed when running the complete testcase but
not as single test. More irritating was the fact that the error was in
QAbstractItemModelTester::headerDataChanged() but the affected test did
not change any header nor does it use the blamed model...
The reason for this is, that QAbstractProxyModel emits a queued
headerDataChanged signal when the header item count changes and
therefore only evaluated when the event loop is run.
Fix it by calling processEvents() after the rowCount change in
filterColumns().
Amends 72e802f3b0

Pick-to: 6.6 6.5
Change-Id: I10cb5aa9c40a6925113cc9c23616774bf15784a4
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-07-07 21:35:47 +00:00
..
qabstractitemmodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qabstractproxymodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qconcatenatetablesproxymodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qidentityproxymodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qitemmodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qitemselectionmodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsortfilterproxymodel QSortFilterProxyModel test: fix failing appearsAndSort 2023-07-07 21:35:47 +00:00
qsortfilterproxymodel_recursive CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qsortfilterproxymodel_regularexpression CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qstringlistmodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qtransposeproxymodel CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00