diff options
| author | Peter Penz <[email protected]> | 2008-02-12 00:06:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-02-12 00:06:21 +0000 |
| commit | bcb1c6b2328ff5dadf16cb4a0355ad2101780939 (patch) | |
| tree | 54c6a9f3d484c3dac0660724af4dc8a4735e6c78 /src/selectionmanager.h | |
| parent | 538192b8bdbc59f76cbe0092894e1c985b942f7f (diff) | |
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
Diffstat (limited to 'src/selectionmanager.h')
| -rw-r--r-- | src/selectionmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
