qt5base-lts/tests/auto/widgets/itemviews
Christian Ehrlicher 3ddffd2d8b QTable/TreeView: fix sortByColumn() when view is already sorted
When the view was already sorted by the column and order given to
sortByColumn(), a resort was not triggered which is a regression since
d0f909f8db.
Therefore don't rely on sortIndicatorChanged() in this case and trigger
an explicit sort as it's done when no user-triggered sorting is enabled

Fixes: QTBUG-86268
Change-Id: I3ec30ab81f304d5a19cef6d67b8a81c21b4a112d
Pick-to: 5.15
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2020-09-02 22:44:30 +02:00
..
qabstractitemview Replace QAbstractItemView::viewOptions with initViewItemOption 2020-08-26 18:02:58 +02:00
qcolumnview CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qdatawidgetmapper CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qfileiconprovider CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qheaderview Use build-system to declare tests that are low-DPI 2020-08-28 22:16:53 +02:00
qitemdelegate Replace QAbstractItemView::viewOptions with initViewItemOption 2020-08-26 18:02:58 +02:00
qitemeditorfactory CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qitemview CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qlistview Replace QAbstractItemView::viewOptions with initViewItemOption 2020-08-26 18:02:58 +02:00
qlistwidget CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qtableview QTable/TreeView: fix sortByColumn() when view is already sorted 2020-09-02 22:44:30 +02:00
qtablewidget CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qtreeview QTable/TreeView: fix sortByColumn() when view is already sorted 2020-09-02 22:44:30 +02:00
qtreewidget Use the new support for comparisons in QMetaType for QVariant 2020-08-13 08:48:03 +02:00
qtreewidgetitemiterator CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
itemviews.pro Remove the deprecated QDirModel 2020-06-04 19:11:19 +02:00