From beeb81194cba3ecaa84c6e0e334a702036a26c1e Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 24 Feb 2009 08:25:01 +0000 Subject: Stupid me: The inconsistent behavior between QListView::scrollTo() and QTreeView::scrollTo() has been fixed in Qt 4.5 :-) I should have tested this _before_ committing the huge patch for bug 185191... So: * Remove the workaround in DolphinIconsView::scrollTo() to bypass an issue in Qt 4.4 (-> fixed in Qt 4.5) * Revert the "use the DolphinController"-parts of commit 930754 and just use QAbstractItemView::scrollTo() instead. CCBUG: 185191 svn path=/trunk/KDE/kdebase/apps/; revision=930777 --- src/dolphincontroller.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/dolphincontroller.h') diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index ba1036060..29dd7dfb1 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -73,7 +73,6 @@ class QWidget; * - setShowPreview() * - indicateActivationChange() * - setZoomLevel() - * - triggerScrollToCurrentItem() */ class LIBDOLPHINPRIVATE_EXPORT DolphinController : public QObject { @@ -190,12 +189,6 @@ public: void setZoomLevel(int level); int zoomLevel() const; - /** - * Triggers the view implementation to assure having a fully visible - * current item. The signal scrollToCurrentItem() will be emitted. - */ - void triggerScrollToCurrentItem(); - /** * Tells the view implementation to zoom out by emitting the signal zoomOut() * and is invoked by the abstract Dolphin view. @@ -376,12 +369,6 @@ signals: */ void hideToolTip(); - /** - * Is emitted if the view implementation should scroll to the current item, so - * that it is fully visible. - */ - void scrollToCurrentItem(); - private slots: void updateMouseButtonState(); -- cgit v1.3