]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix drag & drop cursor issue
authorPeter Penz <peter.penz19@gmail.com>
Sat, 7 Apr 2012 21:11:16 +0000 (23:11 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 7 Apr 2012 21:14:43 +0000 (23:14 +0200)
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

src/kitemviews/kitemlistcontroller.cpp

index 35d5038676898cb58c66b9618c6afe64f59b200f..ad08223a40bc9ae514859c8ae86ea140c7491eb1 100644 (file)
@@ -745,6 +745,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons
         return false;
     }
 
+    event->acceptProposedAction();
+
     KItemListWidget* oldHoveredWidget = hoveredWidget();
 
     const QPointF pos = transform.map(event->pos());