summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 10:57:56 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-08-09 10:57:56 (GMT)
commit272e8eb556ca66ddba393f1cae99ec4ea29ec98a (patch)
tree35ab59b652869db311417fa4d2a5470d6d8d4f44
parentcf6de9bbd8836ec14476206d90476de77bfb9e73 (diff)
Use QKeySequence instead of KStandardShortcut
-rw-r--r--shell/shell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/shell.cpp b/shell/shell.cpp
index ba8e092..d6ed51d 100644
--- a/shell/shell.cpp
+++ b/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()) );
}