From 185f35da3a5d1ef17988bae09f60513147d851ba Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 16 Jan 2009 10:28:25 +0000 Subject: Pressing "Enter" in the folders panel should open the folder in the main view. Thanks to Darío Andrés for the patch! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG: 172360 svn path=/trunk/KDE/kdebase/apps/; revision=911855 --- src/panels/folders/folderspanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/panels/folders/folderspanel.cpp b/src/panels/folders/folderspanel.cpp index 72d9a0952..e20da9175 100644 --- a/src/panels/folders/folderspanel.cpp +++ b/src/panels/folders/folderspanel.cpp @@ -159,7 +159,7 @@ void FoldersPanel::showEvent(QShowEvent* event) new FolderExpander(m_treeView, m_proxyModel); - connect(m_treeView, SIGNAL(clicked(const QModelIndex&)), + connect(m_treeView, SIGNAL(activated(const QModelIndex&)), this, SLOT(updateActiveView(const QModelIndex&))); connect(m_treeView, SIGNAL(urlsDropped(const QModelIndex&, QDropEvent*)), this, SLOT(dropUrls(const QModelIndex&, QDropEvent*))); -- cgit v1.3