diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-08-10 18:21:59 +0200 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-08-13 18:22:14 +0200 |
commit | de26ea6a7ff921995b6229f1f683821adb95e973 (patch) | |
tree | e6c34259817c65bc3010c337b75e456c497666a9 /src/testlib/qbenchmarktimemeasurers_p.h | |
parent | fdffa035ba261d374101d230c0a884725f34e362 (diff) |
QTree/TableView: allow to reset the sort order to natural sorting
QTreeView allowed to set the sort column to -1 which shows the data in
it's natural order (when the model supports it). This functionality was
removed during the porting away from the deprecated sortByColumn(int)
functionality done in d0f909f8dbdd8594b0d950822f0e7ab8728da513
Readd the functionality and also allow it for QTableView.
Fixes: QTBUG-77419
Change-Id: I96b0c09ab9da36ca0a9de58fe0f37e2c56b1d51b
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/testlib/qbenchmarktimemeasurers_p.h')
0 files changed, 0 insertions, 0 deletions