┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-26 06:08:51 +0000
committerPeter Penz <[email protected]>2007-09-26 06:08:51 +0000
commitc364f1b47ab4a3f95d246cc433fad6a68939312a (patch)
treeca7ee4bba00d164078795ef83b5344f85c690742
parent7923d297f187bc95033cb1cca5931b5d601765c2 (diff)
temporary disable the ScrollPerPixel feature until a Qt-patch is supplied which fixes a possible crash
(see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2) svn path=/trunk/KDE/kdebase/apps/; revision=717132
-rw-r--r--src/dolphindetailsview.cpp7
-rw-r--r--src/sidebartreeview.cpp7
2 files changed, 10 insertions, 4 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 8ffa65e8f..07a203751 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -52,8 +52,11 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
setDragDropMode(QAbstractItemView::DragDrop);
setDropIndicatorShown(false);
setAlternatingRowColors(true);
- 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);
setMouseTracking(true);
viewport()->setAttribute(Qt::WA_Hover);
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);