From 093efca22dfd247f06e2a669ad968300e71ef08d Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 26 Sep 2007 18:53:34 +0000 Subject: reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applied to qt-copy now svn path=/trunk/KDE/kdebase/apps/; revision=717366 --- src/sidebartreeview.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/sidebartreeview.cpp') diff --git a/src/sidebartreeview.cpp b/src/sidebartreeview.cpp index 4d8c2cc56..caf1314c6 100644 --- a/src/sidebartreeview.cpp +++ b/src/sidebartreeview.cpp @@ -40,11 +40,8 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) : setDragDropMode(QAbstractItemView::DragDrop); setDropIndicatorShown(false); setAutoExpandDelay(300); - // TODO: enable ScrollPerPixel again as soon as a Qt-patch - // is supplied which fixes a possible crash - // (see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2) - //setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel); - //setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); + setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel); + setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); viewport()->setAttribute(Qt::WA_Hover); -- cgit v1.3