From: Peter Penz Date: Fri, 16 Jan 2009 10:28:25 +0000 (+0000) Subject: Pressing "Enter" in the folders panel should open the folder in the main view. Thanks... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/185f35da3a5d1ef17988bae09f60513147d851ba?ds=inline Pressing "Enter" in the folders panel should open the folder in the main view. Thanks to Darío Andrés for the patch! BUG: 172360 svn path=/trunk/KDE/kdebase/apps/; revision=911855 --- 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*)));