qt5base-lts/tests/auto/corelib
David Faure 736ac19156 QAbstractProxyModel: fix canDropMimeData/dropMimeData implementations
The code in 4696e9dbaa 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 <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Stephen Kelly <steveire@gmail.com>
2014-11-24 08:05:43 +01:00
..
animation Update license headers and add new license files 2014-09-24 12:26:19 +02:00
codecs Hardcode UTF-8 for "unicode" in QTextCodec::codecForHtml(). 2014-10-28 12:17:13 +01:00
global Remove trailing '\n' in qFormatLogMessage output 2014-10-27 08:59:02 +01:00
io Disable the tests that verify that the available space shrunk 2014-11-22 20:02:45 +01:00
itemmodels QAbstractProxyModel: fix canDropMimeData/dropMimeData implementations 2014-11-24 08:05:43 +01:00
json Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Fix tst_QEventLoop::processEventsExcludeSocket test 2014-11-21 18:51:17 +01:00
mimetypes Update license headers and add new license files 2014-09-24 12:26:19 +02:00
plugin Update license headers and add new license files 2014-09-24 12:26:19 +02:00
statemachine tst_QState: fix memleaks 2014-10-19 13:18:12 +02:00
thread tst_QThreadPool: fix memleak 2014-10-19 13:18:07 +02:00
tools Merge remote-tracking branch 'origin/5.4.0' into 5.4 2014-11-21 13:44:26 +01:00
xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00