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.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/dolphincontroller.cpp') diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index cfa0d62c8..b128c9033 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -124,11 +124,6 @@ void DolphinController::setZoomLevel(int level) } } -void DolphinController::triggerScrollToCurrentItem() -{ - emit scrollToCurrentItem(); -} - void DolphinController::handleKeyPressEvent(QKeyEvent* event) { Q_ASSERT(m_itemView != 0); -- cgit v1.3