┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-09-27 07:02:35 +0000
committerPeter Penz <[email protected]>2007-09-27 07:02:35 +0000
commit40691db6e78900510bdc2317d8a89509dea31f1e (patch)
tree3fd3833009e77f0d2ffb7f8d620460817cb25b47 /src
parentc108a62d4ffac540979c27f18ba3228909e5a4fd (diff)
Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt it also decreases the usability when using the mouse wheel: one full rotation of the mouse wheel only leads to a scrolling of 1 or 2 items...
svn path=/trunk/KDE/kdebase/apps/; revision=717562
Diffstat (limited to 'src')
-rw-r--r--src/dolphincolumnview.cpp2
-rw-r--r--src/dolphindetailsview.cpp2
-rw-r--r--src/sidebartreeview.cpp2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/dolphincolumnview.cpp b/src/dolphincolumnview.cpp
index 3f6523ebe..b75de4735 100644
--- a/src/dolphincolumnview.cpp
+++ b/src/dolphincolumnview.cpp
@@ -615,8 +615,6 @@ void DolphinColumnView::showColumn(const KUrl& url)
columnIndex++;
ColumnWidget* column = new ColumnWidget(viewport(), this, childUrl);
- column->setVerticalScrollMode(ColumnWidget::ScrollPerPixel);
- column->setHorizontalScrollMode(ColumnWidget::ScrollPerPixel);
column->setModel(model());
column->setRootIndex(proxyIndex);
column->setActive(false);
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index 39783c9a9..dce2ab5ce 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -52,8 +52,6 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
setDragDropMode(QAbstractItemView::DragDrop);
setDropIndicatorShown(false);
setAlternatingRowColors(true);
- 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..8d0b1c73d 100644
--- a/src/sidebartreeview.cpp
+++ b/src/sidebartreeview.cpp
@@ -40,8 +40,6 @@ SidebarTreeView::SidebarTreeView(QWidget* parent) :
setDragDropMode(QAbstractItemView::DragDrop);
setDropIndicatorShown(false);
setAutoExpandDelay(300);
- setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
- setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
viewport()->setAttribute(Qt::WA_Hover);