summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qbytearray.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-04-07 08:59:06 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2018-06-22 20:05:11 +0000
commitc699daeceb4448c4545a67ffdba27bcb3b994114 (patch)
tree52d35b5a0db2164f2192e4d38e9f083aa7be7cfc /src/corelib/tools/qbytearray.cpp
parent1acdcdaa4d9c4b6bf86b50ada8a7b194d86f1e4c (diff)
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>
Diffstat (limited to 'src/corelib/tools/qbytearray.cpp')
0 files changed, 0 insertions, 0 deletions