qt5base-lts/tests/auto/widgets/kernel/qwidget_window
Christian Ehrlicher 52e0d9e23c Drag'n'Drop: fix dnd when dragMoveEvent() is not implemented
The refactoring of dnd with f8944a7f07
added a regression which results in a need to reimplement
dragMoveEvent() on the drop side. Before this change it was possible to
accept the dnd in dragEnterEvent() without again accepting it in
dragMoveEvent().
Fix it in a similar way it's done in
QGuiApplicationPrivate::processDrag() by prefilling the first simulated
QDragMoveEvent with the values from the previous QDragEnterEvent before
it is sent to the drop receiver.

Fixes: QTBUG-72844
Change-Id: I1300dd02b7f1d9dcd44ecefa8335f92ad6c6cafa
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
2019-01-07 10:50:18 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
BLACKLIST Blacklist tst_QWidget_window::setWindowState 2018-07-24 15:32:13 +00:00
qwidget_window.pro testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
tst_qwidget_window.cpp Drag'n'Drop: fix dnd when dragMoveEvent() is not implemented 2019-01-07 10:50:18 +00:00