path: root/src/widgets
diff options
authorDavid Faure <>2014-11-18 21:47:41 +0100
committerDavid Faure <>2014-11-24 08:05:43 +0100
commit736ac191565196514e14f875c774771026f95d7e (patch)
tree15f207893c31f457da256fd19df34ba6892ac97d /src/widgets
parentdcbf704bc0f3e7cdedb5c0839575a7f9546fc245 (diff)
QAbstractProxyModel: fix canDropMimeData/dropMimeData implementations
The code in 4696e9dbaa4 was incorrect. It is perfectly valid to call these methods with row=-1 column=1 parent=some_index, this is exactly what happens in QListView and QTableView. Child row/column is only for trees. Move the coordinate mapping from QSortFilterProxyModel into a new mapDropCoordinatesToSource internal method, used by QAbstractProxyModel. Task-number: QTBUG-39549 Change-Id: I3312210473d84b639cbe4c01f70ea36437db3e91 Reviewed-by: Friedemann Kleint <> Reviewed-by: Stephen Kelly <>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions