From df55b9d89f0b064f1dfa0fd2ca0f6bd08ea0c8e4 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 14 May 2008 15:15:31 +0000 Subject: Only the infosidebar panel is interested in selections -> move it from the sidebar panel to the infosidebar panel. svn path=/trunk/KDE/kdebase/apps/; revision=807729 --- src/sidebarpage.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/sidebarpage.cpp') diff --git a/src/sidebarpage.cpp b/src/sidebarpage.cpp index 889dc48c4..594f59f24 100644 --- a/src/sidebarpage.cpp +++ b/src/sidebarpage.cpp @@ -25,8 +25,7 @@ SidebarPage::SidebarPage(QWidget* parent) : QWidget(parent), - m_url(KUrl()), - m_currentSelection() + m_url(KUrl()) { } @@ -39,19 +38,9 @@ const KUrl& SidebarPage::url() const return m_url; } -const KFileItemList& SidebarPage::selection() const -{ - return m_currentSelection; -} - void SidebarPage::setUrl(const KUrl& url) { m_url = url; } -void SidebarPage::setSelection(const KFileItemList& selection) -{ - m_currentSelection = selection; -} - #include "sidebarpage.moc" -- cgit v1.3