┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-01-05 17:19:51 +0000
committerPeter Penz <[email protected]>2010-01-05 17:19:51 +0000
commitf0e54ea52b3934bbb64b4d43a8c7dcdfd6b50de7 (patch)
tree17609cf5e7784ce26fc3292c8f33ebe3f82a90f8 /src/dolphiniconsview.cpp
parentd8d04037a085c7932df9eb1def130e56a43f370d (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/dolphiniconsview.cpp')
-rw-r--r--src/dolphiniconsview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp
index a4e581fb4..a8188d971 100644
--- a/src/dolphiniconsview.cpp
+++ b/src/dolphiniconsview.cpp
@@ -319,8 +319,8 @@ void DolphinIconsView::keyPressEvent(QKeyEvent* event)
void DolphinIconsView::wheelEvent(QWheelEvent* event)
{
- horizontalScrollBar()->setSingleStep(m_itemSize.width() / 10);
- verticalScrollBar()->setSingleStep(m_itemSize.height() / 10);
+ horizontalScrollBar()->setSingleStep(m_itemSize.width() / 5);
+ verticalScrollBar()->setSingleStep(m_itemSize.height() / 5);
KCategorizedView::wheelEvent(event);
// if the icons are aligned left to right, the vertical wheel event should