┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-12-06 20:06:04 +0000
committerPeter Penz <[email protected]>2008-12-06 20:06:04 +0000
commit53bdec9b58131014dcec9d6bc7d48e1aa01be979 (patch)
tree2d8b1b193c5828c6937586f780a3d28dbec417b7 /src/dolphindetailsview.cpp
parentd2e8f27200727a7a8d12932176f21c1e81dcad93 (diff)
Fixed serious usability issue: QAbstractItemView::setAutoScroll() is not usable when trying to select items outside the visible view area (reported to Qt Software with bug ID #214542) -> implemented custom auto scrolling algorithm.
BUG: 165531 svn path=/trunk/KDE/kdebase/apps/; revision=893546
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index c4f54cec4..32deb873b 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -25,6 +25,7 @@
#include "dolphinfileitemdelegate.h"
#include "dolphinsettings.h"
#include "dolphinsortfilterproxymodel.h"
+#include "dolphinviewautoscroller.h"
#include "draganddrophelper.h"
#include "selectionmanager.h"
#include "viewproperties.h"
@@ -75,6 +76,7 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr
setEditTriggers(QAbstractItemView::NoEditTriggers);
setMouseTracking(true);
+ new DolphinViewAutoScroller(this);
const ViewProperties props(controller->url());
setSortIndicatorSection(props.sorting());