From e15a9f3a8da1907b26195a1833588fc86a9d50ca Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 17 Dec 2009 21:07:18 +0000 Subject: * respect the --select startup option * minor cleanups related to selecting items in general svn path=/trunk/KDE/kdebase/apps/; revision=1063329 --- src/panels/folders/folderspanel.cpp | 1 - src/panels/folders/folderspanel.h | 9 --------- 2 files changed, 10 deletions(-) (limited to 'src/panels') diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp index 1e3bdb8a6..0542665d5 100644 --- a/src/panels/folders/folderspanel.cpp +++ b/src/panels/folders/folderspanel.cpp @@ -185,7 +185,6 @@ void FoldersPanel::contextMenuEvent(QContextMenuEvent* event) if (index.isValid()) { const QModelIndex dolphinModelIndex = m_proxyModel->mapToSource(index); item = m_dolphinModel->itemForIndex(dolphinModelIndex); - emit changeSelection(KFileItemList()); } TreeViewContextMenu contextMenu(this, item); diff --git a/src/panels/folders/folderspanel.h b/src/panels/folders/folderspanel.h index 1822d17e0..438a9ee68 100644 --- a/src/panels/folders/folderspanel.h +++ b/src/panels/folders/folderspanel.h @@ -59,15 +59,6 @@ signals: */ void changeUrl(const KUrl& url, Qt::MouseButtons buttons); - /** - * This signal is emitted when the panel requests a change in the - * current selection. The file-management view recieving this signal is - * not required to select all listed files, limiting the selection to - * e.g. the current folder. The new selection will be reported via the - * setSelection slot. - */ - void changeSelection(const KFileItemList& selection); - public slots: /** * Changes the current selection inside the tree to \a url. -- cgit v1.3