diff options
| author | Peter Penz <[email protected]> | 2011-09-01 23:08:22 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-09-01 23:09:31 +0200 |
| commit | d2a3510cc372685ad491a0b653587bf569a132aa (patch) | |
| tree | b9fbb099eb8e364df6e61d856c1861a35ebff036 /src/kitemviews/kitemlistcontroller.h | |
| parent | c4a3313ea918e75ba25e94804f73a32cf5bf2e94 (diff) | |
Improve autoscrolling
- Start autoscrolling when doing a dragging
- Start autoscrolling with a small delay
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
| -rw-r--r-- | src/kitemviews/kitemlistcontroller.h | 7 |
1 files changed, 2 insertions, 5 deletions
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; |
