]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebartreeview.cpp
lessons learned from the column view: never invoke KDirModel::expandToUrl() when...
[dolphin.git] / src / sidebartreeview.cpp
index 8d0b1c73dd2053f0e418c46c3c9373e369d1f4b2..4d8c2cc560d1111572dde69b9f705113c024a255 100644 (file)
@@ -40,6 +40,11 @@ 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);
 
     viewport()->setAttribute(Qt::WA_Hover);