]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebartreeview.cpp
associate dolphin with inode/directory; give it a higher initial preference than...
[dolphin.git] / src / sidebartreeview.cpp
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);