diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-01-03 20:33:57 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2019-01-07 10:50:18 +0000 |
commit | 52e0d9e23c3f7a1b0faf6649cf3dd825bcfd4f08 (patch) | |
tree | bfe084dea6375845b633e72b40ae56ff9e44f68a /src/network/access | |
parent | 406d1dcfd744c2fca87e1d151a467bbcd914380b (diff) |
Drag'n'Drop: fix dnd when dragMoveEvent() is not implemented
The refactoring of dnd with f8944a7f07112c85dc4f66848cabb490514cd28e
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>
Diffstat (limited to 'src/network/access')
0 files changed, 0 insertions, 0 deletions