diff options
| author | Peter Penz <[email protected]> | 2010-01-05 17:19:51 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-01-05 17:19:51 +0000 |
| commit | f0e54ea52b3934bbb64b4d43a8c7dcdfd6b50de7 (patch) | |
| tree | 17609cf5e7784ce26fc3292c8f33ebe3f82a90f8 /src/dolphincolumnview.cpp | |
| parent | d8d04037a085c7932df9eb1def130e56a43f370d (diff) | |
- Details view and column view: Just use the height as indicator for the scrolling steps when using the wheel. Don't decrease the steps for larger icon sizes.
- Icons view: Use slightly larger scrolling steps.
BUG: 191418
BUG: 192958
svn path=/trunk/KDE/kdebase/apps/; revision=1070438
Diffstat (limited to 'src/dolphincolumnview.cpp')
| -rw-r--r-- | src/dolphincolumnview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dolphincolumnview.cpp b/src/dolphincolumnview.cpp index 26ebdc91d..8a1453ce1 100644 --- a/src/dolphincolumnview.cpp +++ b/src/dolphincolumnview.cpp @@ -333,10 +333,8 @@ void DolphinColumnView::contextMenuEvent(QContextMenuEvent* event) void DolphinColumnView::wheelEvent(QWheelEvent* event) { - const int height = m_decorationSize.height(); - const int step = (height >= KIconLoader::SizeHuge) ? height / 10 : (KIconLoader::SizeHuge - height) / 2; + const int step = m_decorationSize.height(); verticalScrollBar()->setSingleStep(step); - QListView::wheelEvent(event); } |
