diff options
| author | Peter Penz <[email protected]> | 2008-12-06 20:06:04 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-06 20:06:04 +0000 |
| commit | 53bdec9b58131014dcec9d6bc7d48e1aa01be979 (patch) | |
| tree | 2d8b1b193c5828c6937586f780a3d28dbec417b7 /src/dolphiniconsview.cpp | |
| parent | d2e8f27200727a7a8d12932176f21c1e81dcad93 (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/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 6a54bd5c3..54c6ede8c 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -22,6 +22,7 @@ #include "dolphincategorydrawer.h" #include "dolphincontroller.h" #include "dolphinsettings.h" +#include "dolphinviewautoscroller.h" #include "dolphin_iconsmodesettings.h" #include "dolphin_generalsettings.h" #include "draganddrophelper.h" @@ -61,6 +62,7 @@ DolphinIconsView::DolphinIconsView(QWidget* parent, DolphinController* controlle viewport()->setAcceptDrops(true); setMouseTracking(true); + new DolphinViewAutoScroller(this); connect(this, SIGNAL(clicked(const QModelIndex&)), controller, SLOT(requestTab(const QModelIndex&))); |
