mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 04:04:18 -04:00
Do not set alternative shortcut for switching to prev/next tab.
It is generally a good idea to pass more keyboard actions into terminal process, instead of intercepting them. Anyway, Uses can still define the alternative shortcuts themselfes if they want. BUG: 188941 FIXED-IN: 4.8
This commit is contained in:
@@ -234,14 +234,12 @@ void ViewManager::setupActions()
|
||||
// keyboard shortcut only actions
|
||||
KShortcut nextViewShortcut = nextViewAction->shortcut();
|
||||
nextViewShortcut.setPrimary( QKeySequence(Qt::SHIFT+Qt::Key_Right) );
|
||||
nextViewShortcut.setAlternate( QKeySequence(Qt::CTRL+Qt::Key_PageDown) );
|
||||
nextViewAction->setShortcut(nextViewShortcut);
|
||||
connect( nextViewAction, SIGNAL(triggered()) , this , SLOT(nextView()) );
|
||||
_viewSplitter->addAction(nextViewAction);
|
||||
|
||||
KShortcut previousViewShortcut = previousViewAction->shortcut();
|
||||
previousViewShortcut.setPrimary( QKeySequence(Qt::SHIFT+Qt::Key_Left) );
|
||||
previousViewShortcut.setAlternate( QKeySequence(Qt::CTRL+Qt::Key_PageUp) );
|
||||
previousViewAction->setShortcut(previousViewShortcut);
|
||||
connect( previousViewAction, SIGNAL(triggered()) , this , SLOT(previousView()) );
|
||||
_viewSplitter->addAction(previousViewAction);
|
||||
|
||||
Reference in New Issue
Block a user