summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <peter.penz19@gmail.com>2012-04-07 21:11:16 (GMT)
committerPeter Penz <peter.penz19@gmail.com>2012-04-07 21:14:10 (GMT)
commitdafcc815b8f604b95e57986d3c3288b02f8d20d2 (patch)
tree784df307a4429c57d91145b1b0c0dd8eb273c435
parent6b0e9a0a0d846e73cad1386cbd29355f00a7fc30 (diff)
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
-rw-r--r--dolphin/src/kitemviews/kitemlistcontroller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dolphin/src/kitemviews/kitemlistcontroller.cpp b/dolphin/src/kitemviews/kitemlistcontroller.cpp
index 1ad760a..79a6ecf 100644
--- a/dolphin/src/kitemviews/kitemlistcontroller.cpp
+++ b/dolphin/src/kitemviews/kitemlistcontroller.cpp
@@ -749,6 +749,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons
return false;
}
+ event->acceptProposedAction();
+
KItemListWidget* oldHoveredWidget = hoveredWidget();
const QPointF pos = transform.map(event->pos());