┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphiniconsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-02-24 08:25:01 +0000
committerPeter Penz <[email protected]>2009-02-24 08:25:01 +0000
commitbeeb81194cba3ecaa84c6e0e334a702036a26c1e (patch)
tree09757c90158f897415fdf89bc0a086fa7bfd98db /src/dolphiniconsview.h
parent7b6ace6466cf349a4ce7a080d5e978aa0a7043e2 (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/dolphiniconsview.h')
-rw-r--r--src/dolphiniconsview.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/dolphiniconsview.h b/src/dolphiniconsview.h
index 8a1f1f8dd..8cb2fd3af 100644
--- a/src/dolphiniconsview.h
+++ b/src/dolphiniconsview.h
@@ -49,7 +49,6 @@ class LIBDOLPHINPRIVATE_EXPORT DolphinIconsView : public KCategorizedView
public:
explicit DolphinIconsView(QWidget* parent, DolphinController* controller);
virtual ~DolphinIconsView();
- virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible);
protected slots:
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
@@ -76,7 +75,6 @@ private slots:
void setZoomLevel(int level);
void requestActivation();
void slotGlobalSettingsChanged(int category);
- void scrollToCurrentItem();
private:
/**
@@ -92,7 +90,6 @@ private:
int additionalInfoCount() const;
private:
- bool m_enableScrollTo;
DolphinController* m_controller;
SelectionManager* m_selectionManager;
DolphinViewAutoScroller* m_autoScroller;