From da44e5e0b2237fa1019caeecf854aa95a4b360d8 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Tue, 9 Nov 2010 08:23:33 +0000 Subject: Add unit test for bug 217447. To make it work, I had to make DolphinTreeView::indexAt public, but this method is public in the base class anyway. svn path=/trunk/KDE/kdebase/apps/; revision=1194511 --- src/views/dolphintreeview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views') diff --git a/src/views/dolphintreeview.h b/src/views/dolphintreeview.h index 67f8eedf2..4eb00c101 100644 --- a/src/views/dolphintreeview.h +++ b/src/views/dolphintreeview.h @@ -40,6 +40,7 @@ public: explicit DolphinTreeView(QWidget* parent = 0); virtual ~DolphinTreeView(); + virtual QModelIndex indexAt (const QPoint& point) const; virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; protected: @@ -62,7 +63,6 @@ protected: virtual void keyPressEvent(QKeyEvent* event); virtual void keyReleaseEvent(QKeyEvent* event); virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); - virtual QModelIndex indexAt (const QPoint& point) const; virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); virtual void scrollTo(const QModelIndex& index, ScrollHint hint = EnsureVisible); -- cgit v1.3