diff options
| author | Elvis Angelaccio <[email protected]> | 2020-09-05 22:50:48 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-09-05 22:51:36 +0200 |
| commit | aee26d29f188427186b6aaba1c54a205c17b3dc6 (patch) | |
| tree | 68c3fed67e9ecf859894d7acfab4470c2ebe12fd /src/kitemviews | |
| parent | 4b438da3cb4699d395565a0d5e71d7f7d77c945d (diff) | |
Revert "Set a better defaultDropAction for dragging"
This reverts commit 4440e961a07aaee5b5da7c8967ff05de14808ad4.
BUG: 425757
BUG: 426196
FIXED-IN: 20.08.2
Diffstat (limited to 'src/kitemviews')
| -rw-r--r-- | src/kitemviews/kitemlistcontroller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kitemlistcontroller.cpp b/src/kitemviews/kitemlistcontroller.cpp index 0c25ebb8b..5ddf52e5f 100644 --- a/src/kitemviews/kitemlistcontroller.cpp +++ b/src/kitemviews/kitemlistcontroller.cpp @@ -1219,7 +1219,7 @@ void KItemListController::startDragging() const QPoint hotSpot((pixmap.width() / pixmap.devicePixelRatio()) / 2, 0); drag->setHotSpot(hotSpot); - drag->exec(Qt::MoveAction | Qt::CopyAction | Qt::LinkAction, Qt::MoveAction); + drag->exec(Qt::MoveAction | Qt::CopyAction | Qt::LinkAction, Qt::CopyAction); QAccessibleEvent accessibilityEvent(view(), QAccessible::DragDropStart); QAccessible::updateAccessibility(&accessibilityEvent); |
