summaryrefslogtreecommitdiffstats
path: root/src/corelib/Qt5CoreMacros.cmake
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-04-22 18:55:13 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-04-24 17:40:01 +0200
commitfd894fd68edf3d67975cda8eb9dda43646887b0d (patch)
tree7e8e27cf95cde1906ff59d8e5ff379208c2dc018 /src/corelib/Qt5CoreMacros.cmake
parent20cdf807b1b6db2189024736047350cdc7be4887 (diff)
QListWidget/View: Update the selection when moving items within the view
The code for doing that existed in the QListWidget::dropEvent override, and was only using standard itemview APIs to adjust the selection model. There is no reason why dropping items internally in a QListView should not do the exact same thing. As part of moving the code from QListWidget to QListView, replace QList with QVector, and other minor optimizations. [ChangeLog][QtWidgets][QListView] Moving selected items within a list view by drag'n'drop will maintain the selection of those items. Change-Id: Ie24bec38234839dcb2f0b0ee0302cc59ca101631 Fixes: QTBUG-83084 Pick-to: 5.15 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/corelib/Qt5CoreMacros.cmake')
0 files changed, 0 insertions, 0 deletions