]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Column View: Keep wheel-behavior consistent with other views
authorPeter Penz <peter.penz19@gmail.com>
Sun, 10 Apr 2011 17:21:54 +0000 (19:21 +0200)
committerPeter Penz <peter.penz19@gmail.com>
Sun, 10 Apr 2011 17:24:02 +0000 (19:24 +0200)
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

src/views/dolphincolumnview.cpp

index 8f97875aefad4c163076e245578182c44ab33a10..fa1f620e411fe1dcd08688914fa265e3d6a3a1fe 100644 (file)
@@ -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));