Commit 272e8eb5 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Use QKeySequence instead of KStandardShortcut

parent cf6de9bb
......@@ -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()) );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment