From bcb1c6b2328ff5dadf16cb4a0355ad2101780939 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 12 Feb 2008 00:06:21 +0000 Subject: don't keep a KFileItem inside the selection manager for the whole lifetime, work with the URL internally instead svn path=/trunk/KDE/kdebase/apps/; revision=773890 --- src/selectionmanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/selectionmanager.h') diff --git a/src/selectionmanager.h b/src/selectionmanager.h index 04e6e29c1..c263da3ea 100644 --- a/src/selectionmanager.h +++ b/src/selectionmanager.h @@ -62,8 +62,8 @@ private slots: void slotRowsRemoved(const QModelIndex& parent, int start, int end); private: - KFileItem itemForIndex(const QModelIndex& index) const; - const QModelIndex indexForItem(const KFileItem& item) const; + KUrl urlForIndex(const QModelIndex& index) const; + const QModelIndex indexForUrl(const KUrl& url) const; private: QAbstractItemView* m_view; -- cgit v1.3