]> cloud.milkyroute.net Git - dolphin.git/commit
Re-implement dropping of files on folders in the Places Panel.
authorFrank Reininghaus <frank78ac@googlemail.com>
Wed, 11 Jul 2012 22:27:53 +0000 (00:27 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Wed, 11 Jul 2012 22:36:32 +0000 (00:36 +0200)
commitcd5d20ff8a4d2c65d130ef45de5f620b0fa4859e
tree0230ed4919b67c0762ef950ae4b98499777933b7
parentcc03c5514c5f917e180c2fcb6b6b3ce991c774f8
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
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistcontroller.h
src/kitemviews/kitemlistview.cpp
src/panels/places/placesitemlistwidget.cpp
src/panels/places/placesitemmodel.cpp
src/panels/places/placesitemmodel.h
src/panels/places/placespanel.cpp
src/panels/places/placespanel.h