From d2a3510cc372685ad491a0b653587bf569a132aa Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 1 Sep 2011 23:08:22 +0200 Subject: Improve autoscrolling - Start autoscrolling when doing a dragging - Start autoscrolling with a small delay --- src/kitemviews/kitemlistcontroller.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/kitemviews/kitemlistcontroller.h') diff --git a/src/kitemviews/kitemlistcontroller.h b/src/kitemviews/kitemlistcontroller.h index 4ce5b804b..8ac2b554b 100644 --- a/src/kitemviews/kitemlistcontroller.h +++ b/src/kitemviews/kitemlistcontroller.h @@ -138,14 +138,11 @@ private slots: private: /** - * Creates a QDrag object to start a drag-operation. - * @return True if the QDrag object has been created. If false is returned - * there is no implementation available for KItemModelBase::createMimeData(). + * Creates a QDrag object and initiates a drag-operation. */ - bool startDragging(); + void startDragging(); private: - bool m_dragging; SelectionBehavior m_selectionBehavior; KItemModelBase* m_model; KItemListView* m_view; -- cgit v1.3.1