From 40691db6e78900510bdc2317d8a89509dea31f1e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 27 Sep 2007 07:02:35 +0000 Subject: Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt it also decreases the usability when using the mouse wheel: one full rotation of the mouse wheel only leads to a scrolling of 1 or 2 items... svn path=/trunk/KDE/kdebase/apps/; revision=717562 --- src/sidebartreeview.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/sidebartreeview.cpp') diff --git a/src/sidebartreeview.cpp b/src/sidebartreeview.cpp index caf1314c6..8d0b1c73d 100644 --- a/src/sidebartreeview.cpp +++ b/src/sidebartreeview.cpp @@ -40,8 +40,6 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) : setDragDropMode(QAbstractItemView::DragDrop); setDropIndicatorShown(false); setAutoExpandDelay(300); - setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel); - setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); viewport()->setAttribute(Qt::WA_Hover); -- cgit v1.3