qt5base-lts/tests/auto/widgets/itemviews/qtableview
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
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Blacklist tst_QTableView::mouseWheel on macOS 2020-01-14 00:50:00 +01:00
CMakeLists.txt CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qtableview.pro testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
tst_qtableview.cpp QTable/TreeView: fix sortByColumn() when view is already sorted 2020-09-02 22:44:30 +02:00