┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.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/dolphindetailsview.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/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 476ed9a3b..5df105340 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -426,8 +426,7 @@ void DolphinDetailsView::resizeEvent(QResizeEvent* event)
void DolphinDetailsView::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);
QTreeView::wheelEvent(event);
}