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

List:       kde-commits
Subject:    KDE/kdesdk/kate/plugins/filebrowser
From:       Anders Lund <anders () alweb ! dk>
Date:       2008-03-23 14:28:12
Message-ID: 1206282492.656186.1468.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 789189 by alund:

Make the editor del key work again by changing the diroperator shortcuts ('trash' was \
                added, which was the causing the problem)
BUG: 158704


 M  +2 -2      katefileselector.cpp  


--- trunk/KDE/kdesdk/kate/plugins/filebrowser/katefileselector.cpp #789188:789189
@@ -188,10 +188,10 @@
            this, SLOT( selectorViewChanged(QAbstractItemView *) ) );
   setStretchFactor(dir, 2);
   dir->setSizePolicy (QSizePolicy (QSizePolicy::MinimumExpanding, \
                QSizePolicy::MinimumExpanding));
-
   KActionCollection *coll = dir->actionCollection();
   // some shortcuts of diroperator that clashes with Kate
-  coll->action( "delete" )->setShortcut( Qt::ALT + Qt::Key_Delete );
+  coll->action( "delete" )->setShortcut( Qt::ALT + Qt::SHIFT + Qt::Key_Delete );
+  coll->action( "trash" )->setShortcut( Qt::ALT + Qt::Key_Delete );
   coll->action( "reload" )->setShortcut( Qt::ALT + Qt::Key_F5 );
   coll->action( "back" )->setShortcut( Qt::ALT + Qt::SHIFT + Qt::Key_Left );
   coll->action( "forward" )->setShortcut( Qt::ALT + Qt::SHIFT + Qt::Key_Right );


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

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