From 67e2181fe78cfe2328891f8f053473bf3f378f4c Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Tue, 23 Aug 2011 21:11:22 +0800 Subject: [PATCH] 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 --- src/ViewManager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index c42e5aa45..26d427031 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -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);