[kdevplatform] plugins/projectmanagerview: Open files on single-click in the Projects toolview.
niko.sams at gmail.com
Wed Dec 18 09:27:00 UTC 2013
I have a regression with this commit: the projects view doesn't get
focus anymore (except when using right click + esc)
My use cases:
I'd like to rename a file:
- select the file in project view and press F2
I'd like to delete a file:
- select the file in project view and press Del
same for Ctrl+C and Ctrl+V shortcuts
On Fri, Nov 29, 2013 at 1:50 PM, Sven Brauch <svenbrauch at googlemail.com> wrote:
> 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
> 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()));
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
More information about the KDevelop-devel