From 81fcd720a2cc095262e52b8a40dd1472d774a415 Mon Sep 17 00:00:00 2001 From: David Faure Date: Mon, 13 Aug 2007 21:57:20 +0000 Subject: Use KFileItem by value rather than by pointer - in KDirModel::itemForIndex, as noted there as a TODO - in dolphin, everywhere. svn path=/trunk/KDE/kdebase/apps/; revision=699691 --- src/sidebarpage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sidebarpage.cpp') diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index cb0e516e7..1543c8c78 100644 --- a/src/sidebarpage.cpp +++ b/src/sidebarpage.cpp @@ -26,7 +26,7 @@ SidebarPage::SidebarPage(QWidget* parent) : QWidget(parent), m_url(KUrl()), - m_currentSelection(KFileItemList()) + m_currentSelection() { } @@ -39,7 +39,7 @@ const KUrl& SidebarPage::url() const return m_url; } -const KFileItemList& SidebarPage::selection() const +const QList& SidebarPage::selection() const { return m_currentSelection; } @@ -49,7 +49,7 @@ void SidebarPage::setUrl(const KUrl& url) m_url = url; } -void SidebarPage::setSelection(const KFileItemList& selection) +void SidebarPage::setSelection(const QList& selection) { m_currentSelection = selection; } -- cgit v1.3