]> 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:41:20 +0000 (00:41 +0200)
commitb8ef5ebca1662526e994815d6e044652ce7ccf4a
tree5828ba44dc1b03d4d9e329b29358d4657fd56894
parent56b992c48622102c19867294ca0930cba7879c7d
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.

BUG: 302557
FIXED-IN: 4.9.0
(cherry picked from commit f4c960025167b7c7e04e1290ac9d9fee03a9b62d)
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