From 4e2f3dcffe2c2388e9d2d63e626ee6d03abce953 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 28 May 2012 23:10:20 +0200 Subject: Implement dropping of items into the Places Panel Some polishing regarding the icons and group-alignment must still be done, but at least the basic functionality is back again. --- src/kitemviews/kitemlistview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kitemviews/kitemlistview.h') diff --git a/src/kitemviews/kitemlistview.h b/src/kitemviews/kitemlistview.h index de40791da..5723b9aaa 100644 --- a/src/kitemviews/kitemlistview.h +++ b/src/kitemviews/kitemlistview.h @@ -634,7 +634,8 @@ private: * Shows a drop-indicator between items dependent on the given * cursor position. The cursor position is relative the the upper left * edge of the view. - * @return Index of the item where the dropping is done. + * @return Index of the item where the dropping is done. An index of -1 + * indicates that the item has been dropped after the last item. */ int showDropIndicator(const QPointF& pos); void hideDropIndicator(); -- cgit v1.3