From f0e54ea52b3934bbb64b4d43a8c7dcdfd6b50de7 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 5 Jan 2010 17:19:51 +0000 Subject: - 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 --- src/dolphiniconsview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dolphiniconsview.cpp') 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 -- cgit v1.3