Commit 2c5b44bf 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 ebe61bb4
...@@ -745,6 +745,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons ...@@ -745,6 +745,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