qt5base-lts/tests/auto/widgets/itemviews
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
..
qabstractitemview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qcolumnview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qdatawidgetmapper tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdirmodel winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qfileiconprovider Updated license headers 2016-01-21 18:55:18 +00:00
qheaderview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qitemdelegate tests/auto/widgets/itemviews: Avoid unconditional qWait()s 2018-05-09 05:52:22 +00:00
qitemeditorfactory Updated license headers 2016-01-21 18:55:18 +00:00
qitemview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qlistview QListView: do not delete item on internal move 2018-06-22 20:05:11 +00:00
qlistwidget tests/auto/widgets/itemviews: Avoid unconditional qWait()s 2018-05-09 05:52:22 +00:00
qtableview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qtablewidget QTableWidget: fix handling of Qt::EditRole/DisplayRole in setItemData() 2018-05-14 18:17:35 +00:00
qtreeview winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qtreewidget winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qtreewidgetitemiterator tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
itemviews.pro Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00