diff options
| author | Frank Reininghaus <[email protected]> | 2012-07-12 00:27:53 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2012-07-12 00:36:32 +0200 |
| commit | cd5d20ff8a4d2c65d130ef45de5f620b0fa4859e (patch) | |
| tree | 0230ed4919b67c0762ef950ae4b98499777933b7 /src/panels/places/placespanel.h | |
| parent | cc03c5514c5f917e180c2fcb6b6b3ce991c774f8 (diff) | |
Re-implement dropping of files on folders in the Places Panel.
This resolves a regression caused by the Places Panel rewrite. There is
a small glitch left when reordering items (dragging below the last or
above the first item only shows the drop indicator when first dragging
out of the item and then back), but I prefer not to fix this glitch
right now because this would require a more intrusive change, and I do
not want to risk regressions because is not much time left to fix them
before 4.9.0 is released.
Thanks to Peter Penz for providing some advice about this issue.
CCBUG: 302557
Diffstat (limited to 'src/panels/places/placespanel.h')
| -rw-r--r-- | src/panels/places/placespanel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index 427b01248..8a84e00a0 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -56,6 +56,7 @@ private slots: void slotItemContextMenuRequested(int index, const QPointF& pos); void slotViewContextMenuRequested(const QPointF& pos); void slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* event); + void slotAboveItemDropEvent(int index, QGraphicsSceneDragDropEvent* event); void slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent); void slotTrashUpdated(KJob* job); void slotStorageSetupDone(int index, bool success); |
