[kdevplatform] plugins/projectmanagerview: Open files on single-click in the Projects toolview.

Sven Brauch svenbrauch at googlemail.com
Fri Nov 29 12:50:21 UTC 2013


Git commit 36f8f1ab9e3480361cca61f56c9a1db210013e32 by Sven Brauch.
Committed on 29/11/2013 at 12:49.
Pushed by brauch into branch 'master'.

Open files on single-click in the Projects toolview.

I have been using this for weeks and had no problems. The double-clicking
is not required at all.
CCMAIL:kdevelop-devel at kde.org

M  +1    -1    plugins/projectmanagerview/projecttreeview.cpp

http://commits.kde.org/kdevplatform/36f8f1ab9e3480361cca61f56c9a1db210013e32

diff --git a/plugins/projectmanagerview/projecttreeview.cpp b/plugins/projectmanagerview/projecttreeview.cpp
index ed8a05d..5e4724c 100644
--- a/plugins/projectmanagerview/projecttreeview.cpp
+++ b/plugins/projectmanagerview/projecttreeview.cpp
@@ -81,7 +81,7 @@ ProjectTreeView::ProjectTreeView( QWidget *parent )
     setItemDelegate(new ProjectModelItemDelegate(this));
 
     connect( this, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(popupContextMenu(QPoint)) );
-    connect( this, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(slotActivated(QModelIndex)) );
+    connect( this, SIGNAL(clicked(QModelIndex)), this, SLOT(slotActivated(QModelIndex)) );
 
     connect( ICore::self(), SIGNAL(aboutToShutdown()),
              this, SLOT(aboutToShutdown()));


More information about the KDevelop-devel mailing list