qt5base-lts/tests/auto
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
..
android Update license headers and add new license files 2014-09-24 12:26:19 +02:00
bic/data test: Add 5.1.0 bic data for linux-gcc-ia32 2013-07-08 21:47:36 +02:00
cmake Update license headers and add new license files 2014-09-24 12:26:19 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib QAbstractProxyModel: fix canDropMimeData/dropMimeData implementations 2014-11-24 08:05:43 +01:00
dbus Autotest: synchronize with the peer before emitting more signals 2014-10-31 03:57:24 +01:00
gui Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Fix how qsocks5socketengine autotests are blacklisted 2014-11-20 14:58:52 +01:00
opengl Fixed QtGui's GL paint engine getting out of sync when using QtOpenGL 2014-11-11 19:24:34 +01:00
other Fix tst_QAccessibility::abstractScrollAreaTest for OS X 10.9 2014-10-28 12:56:39 +01:00
printsupport Make it possible to disable font embedding 2014-11-15 08:49:15 +01:00
shared Android: Keyboard doesn't hide from done button 2014-10-25 07:19:35 +02:00
sql Expose QSqlDriverPrivate dbmsType in public QSqlDriver api 2014-09-24 14:44:49 +02:00
testlib Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tools Define Q_CC_CLANG to be the version of upstream Clang that's in use 2014-11-05 07:30:32 +01:00
widgets tst_qtableview: fix virtual-override clang warning 2014-11-24 08:05:34 +01:00
xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
auto.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00
network-settings.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtest-config.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
test.pl Update license headers and add new license files 2014-09-24 12:26:19 +02:00