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/dolphindetailsview.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/dolphindetailsview.cpp') diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index b15de900b..39783c9a9 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -52,11 +52,8 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr setDragDropMode(QAbstractItemView::DragDrop); setDropIndicatorShown(false); setAlternatingRowColors(true); - // 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); setMouseTracking(true); viewport()->setAttribute(Qt::WA_Hover); -- cgit v1.3