]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/sidebartreeview.cpp
Hide unused and not drawn columns on the details view
[dolphin.git] / src / sidebartreeview.cpp
index 8d0b1c73dd2053f0e418c46c3c9373e369d1f4b2..caf1314c688ba5bfaf7c248189d022c9f086ef32 100644 (file)
@@ -40,6 +40,8 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) :
     setDragDropMode(QAbstractItemView::DragDrop);
     setDropIndicatorShown(false);
     setAutoExpandDelay(300);
+    setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
+    setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
 
     viewport()->setAttribute(Qt::WA_Hover);