From: Peter Penz Date: Sun, 10 Apr 2011 17:21:54 +0000 (+0200) Subject: Column View: Keep wheel-behavior consistent with other views X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/529da986450fff895540cd24d141bcf368c4d87c Column View: Keep wheel-behavior consistent with other views Using the wheel in the column view resulted in too big jumps. Keep it consistent with the details view and icons view. BUG: 269942 FIXED-IN: 4.7.0 --- diff --git a/src/views/dolphincolumnview.cpp b/src/views/dolphincolumnview.cpp index 8f97875ae..fa1f620e4 100644 --- a/src/views/dolphincolumnview.cpp +++ b/src/views/dolphincolumnview.cpp @@ -82,6 +82,7 @@ DolphinColumnView::DolphinColumnView(QWidget* parent, setItemsExpandable(false); setEditTriggers(QAbstractItemView::NoEditTriggers); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); + setVerticalScrollMode(QTreeView::ScrollPerPixel); m_resizeWidget = new QLabel(this); m_resizeWidget->setPixmap(KIcon("transform-move").pixmap(KIconLoader::SizeSmall));