Commit dafcc815 authored by Peter Penz's avatar Peter Penz
Browse files

Fix drag & drop cursor issue

When dragging a file within the same Dolphin window and the Ctrl, Shift
or Alt-key is pressed the shape of the cursor was not changed to
indicate the copy/move/link-operation.

BUG: 293850
FIXED-IN: 4.8.3
parent 6b0e9a0a
...@@ -749,6 +749,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons ...@@ -749,6 +749,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons
return false; return false;
} }
event->acceptProposedAction();
KItemListWidget* oldHoveredWidget = hoveredWidget(); KItemListWidget* oldHoveredWidget = hoveredWidget();
const QPointF pos = transform.map(event->pos()); const QPointF pos = transform.map(event->pos());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment