qt6-bb10/tests/auto/corelib/itemmodels
Ali Kianian 148add03f3 Enable resetting a sort model by descending order
By this change, sort(any_negative_number) will stay unchanged, and it
unsorts the model so that the order will be the same as the source
model.
But when the second argument of the sort is set to DescendingOrder
deliberately, the result will be the same as the source model, but in
reverse order.

[ChangeLog][QTCore][QSortFilterProxyModel] QSortFilterProxyModel.sort
sorts the proxy by the source model index descending if the sort
column is less than zero and the order is descending.

Fixes: QTBUG-124863
Change-Id: I73f9d3b500a929efa969cf24ef3d8fe758167645
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2024-04-29 22:20:25 +03:00
..
qabstractitemmodel Change license for tests files 2024-02-04 09:56:42 +01:00
qabstractproxymodel Change license for tests files 2024-02-04 09:56:42 +01:00
qconcatenatetablesproxymodel Change license for tests files 2024-02-04 09:56:42 +01:00
qidentityproxymodel Change license for tests files 2024-02-04 09:56:42 +01:00
qitemmodel Change license for tests files 2024-02-04 09:56:42 +01:00
qitemselectionmodel QItemSelectionRange: use new comparison helper macros 2024-04-18 14:23:15 +02:00
qsortfilterproxymodel Enable resetting a sort model by descending order 2024-04-29 22:20:25 +03:00
qsortfilterproxymodel_recursive Change license for tests files 2024-02-04 09:56:42 +01:00
qsortfilterproxymodel_regularexpression Change license for tests files 2024-02-04 09:56:42 +01:00
qstringlistmodel Change license for tests files 2024-02-04 09:56:42 +01:00
qtransposeproxymodel Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00