[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-24 10:06:58
Message-ID: 1206353218.676304.11618.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 789444 by alund:

Do not manipulate the diroperator shortcuts, now that it isn't needed because it has \
the proper shortcut context :-)


 M  +0 -10     katefileselector.cpp  


--- trunk/KDE/kdesdk/kate/plugins/filebrowser/katefileselector.cpp #789443:789444
@@ -188,16 +188,6 @@
            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::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 );
-  // some consistency - reset up for dir too
-  coll->action( "up" )->setShortcut( Qt::ALT + Qt::SHIFT + Qt::Key_Up );
-  coll->action( "home" )->setShortcut( Qt::CTRL + Qt::ALT + Qt::Key_Home );
 
   // bookmarks action!
   KActionMenu *acmBookmarks = new KActionMenu( KIcon("bookmarks"), \
i18n("Bookmarks"), this );


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

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