]> cloud.milkyroute.net Git - dolphin.git/commitdiff
temporary disable the ScrollPerPixel feature until a Qt-patch is supplied which fixes...
authorPeter Penz <peter.penz19@gmail.com>
Wed, 26 Sep 2007 06:08:51 +0000 (06:08 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 26 Sep 2007 06:08:51 +0000 (06:08 +0000)
(see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2)

svn path=/trunk/KDE/kdebase/apps/; revision=717132

src/dolphindetailsview.cpp
src/sidebartreeview.cpp

index 8ffa65e8fd7ddc86fce54a0a58eaee011e4e3837..07a203751b74dc482a41a3c58ea789c9d29d8169 100644 (file)
@@ -52,8 +52,11 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
     setDragDropMode(QAbstractItemView::DragDrop);
     setDropIndicatorShown(false);
     setAlternatingRowColors(true);
-    setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-    setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
+    // 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);
 
     setMouseTracking(true);
     viewport()->setAttribute(Qt::WA_Hover);
index caf1314c688ba5bfaf7c248189d022c9f086ef32..4d8c2cc560d1111572dde69b9f705113c024a255 100644 (file)
@@ -40,8 +40,11 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) :
     setDragDropMode(QAbstractItemView::DragDrop);
     setDropIndicatorShown(false);
     setAutoExpandDelay(300);
-    setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
-    setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
+    // 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);
 
     viewport()->setAttribute(Qt::WA_Hover);