diff options
| author | Peter Penz <[email protected]> | 2009-02-24 08:25:01 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-02-24 08:25:01 +0000 |
| commit | beeb81194cba3ecaa84c6e0e334a702036a26c1e (patch) | |
| tree | 09757c90158f897415fdf89bc0a086fa7bfd98db /src/dolphindetailsview.cpp | |
| parent | 7b6ace6466cf349a4ce7a080d5e978aa0a7043e2 (diff) | |
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
Diffstat (limited to 'src/dolphindetailsview.cpp')
| -rw-r--r-- | src/dolphindetailsview.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index fbd7e41d5..dd58e5842 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -128,8 +128,6 @@ DolphinDetailsView::DolphinDetailsView(QWidget* parent, DolphinController* contr this, SLOT(updateColumnVisibility())); connect(controller, SIGNAL(activationChanged(bool)), this, SLOT(slotActivationChanged(bool))); - connect(controller, SIGNAL(scrollToCurrentItem()), - this, SLOT(scrollToCurrentItem())); if (settings->useSystemFont()) { m_font = KGlobalSettings::generalFont(); @@ -868,11 +866,6 @@ void DolphinDetailsView::setFoldersExpandable(bool expandable) setItemsExpandable(expandable); } -void DolphinDetailsView::scrollToCurrentItem() -{ - scrollTo(currentIndex()); -} - void DolphinDetailsView::updateDecorationSize(bool showPreview) { DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings(); |
