summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-08-28 20:56:47 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-09-02 22:44:30 +0200
commit3ddffd2d8b619863930854705ca5577c0389d65f (patch)
tree6e26a6663565a1e6abf5e11d3089b5c7a2188abf /tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
parent26b38510ce5a04ba564c3c281f7587d2fa034d4e (diff)
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 d0f909f8dbdd8594b0d950822f0e7ab8728da513. 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>
Diffstat (limited to 'tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp')
0 files changed, 0 insertions, 0 deletions