diff options
Diffstat (limited to 'src/sidebartreeview.cpp')
| -rw-r--r-- | src/sidebartreeview.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sidebartreeview.cpp b/src/sidebartreeview.cpp index caf1314c6..4d8c2cc56 100644 --- a/src/sidebartreeview.cpp +++ b/src/sidebartreeview.cpp @@ -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); |
