[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: [kdevplatform] plugins/projectmanagerview: Open files on single-click in the Projects toolview.
From:       Niko Sams <niko.sams () gmail ! com>
Date:       2013-12-18 9:27:00
Message-ID: CACQr-1zfY0rC_iUV2S4O9tLSTS7z3Z=QY-QR3UxjDrBvkmAp5g () mail ! gmail ! com
[Download RAW message or body]

Hi,

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

cheers,
Niko


On Fri, Nov 29, 2013 at 1:50 PM, Sven Brauch <svenbrauch@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@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()));
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic