diff options
| author | Peter Penz <[email protected]> | 2007-09-26 18:53:34 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-09-26 18:53:34 +0000 |
| commit | 093efca22dfd247f06e2a669ad968300e71ef08d (patch) | |
| tree | 3cc8043ec02095a666704729a7e13cde4e485631 /src/sidebartreeview.cpp | |
| parent | d4a9bc6a3f6102efc53133d68ed47fcc565ddbb3 (diff) | |
reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applied to qt-copy now
svn path=/trunk/KDE/kdebase/apps/; revision=717366
Diffstat (limited to 'src/sidebartreeview.cpp')
| -rw-r--r-- | src/sidebartreeview.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sidebartreeview.cpp b/src/sidebartreeview.cpp index 4d8c2cc56..caf1314c6 100644 --- a/src/sidebartreeview.cpp +++ b/src/sidebartreeview.cpp @@ -40,11 +40,8 @@ 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); + setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel); + setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); viewport()->setAttribute(Qt::WA_Hover); |
