qt5base-lts/tests/auto/widgets
Christian Ehrlicher c699daeceb QListView: do not delete item on internal move
When an internal DnD occoures in IconMode, the item is moved to it's new
place but the logic in filterStartDrag() has no clue about the fact that
an internal move happend. Therefore the item gets deleted. Fix it by
changing the event's drop action to Qt::CopyAction to avoid the deletion
as it is done within QListWidget DnD code.

[ChangeLog][QtWidgets][QListView] Do not delete item on internal move.

Task-number: QTBUG-67440
Change-Id: I873d3c9fa76e107e108d9af0dcf8cecd1e18a18f
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2018-06-22 20:05:11 +00:00
..
dialogs winrt: make dialog auto tests pass 2018-06-22 05:02:43 +00:00
effects tst_QGraphicsEffect: Allow multiple paint events in itemHasNoContents() 2018-05-21 06:05:15 +00:00
graphicsview Merge remote-tracking branch 'origin/5.11' into dev 2018-06-07 19:10:53 +02:00
itemviews QListView: do not delete item on internal move 2018-06-22 20:05:11 +00:00
kernel winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
styles winrt: Make widgets/styles auto tests pass 2018-05-25 11:02:21 +00:00
util winrt: Make widgets/util auto tests pass 2018-05-25 11:02:23 +00:00
widgets Fix tst_qtextbrowser for configurations with builtin testdata 2018-06-22 05:02:50 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00