]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphindetailsview.cpp
use correct icon when opening new tabs with the middle click
[dolphin.git] / src / dolphindetailsview.cpp
index 476ed9a3b2d9a76d16e26e6dc05fb7374a15b4e8..5df10534068ebafd3ea2379418483b16b91e5457 100644 (file)
@@ -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);
 }