Use QKeySequence instead of KStandardShortcut

frameworks
Frederik Gladhorn 12 years ago
parent cf6de9bbd8
commit 272e8eb556
  1. 4
      shell/shell.cpp

@ -325,13 +325,13 @@ void Shell::setupActions()
m_nextTabAction = actionCollection()->addAction("tab-next");
m_nextTabAction->setText( i18n("Next Tab") );
m_nextTabAction->setShortcut( KStandardShortcut::tabNext() );
m_nextTabAction->setShortcut( QKeySequence(QKeySequence::NextChild) );
m_nextTabAction->setEnabled( false );
connect( m_nextTabAction, SIGNAL(triggered()), this, SLOT(activateNextTab()) );
m_prevTabAction = actionCollection()->addAction("tab-previous");
m_prevTabAction->setText( i18n("Previous Tab") );
m_prevTabAction->setShortcut( KStandardShortcut::tabPrev() );
m_prevTabAction->setShortcut( QKeySequence(QKeySequence::PreviousChild) );
m_prevTabAction->setEnabled( false );
connect( m_prevTabAction, SIGNAL(triggered()), this, SLOT(activatePrevTab()) );
}

Loading…
Cancel
Save