summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2015-05-13 23:46:03 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2015-05-13 23:46:03 (GMT)
commit8452e86b657f05d92f5e2a8dae6e179b5dd2ceb3 (patch)
tree214d61854b3063ce125d3ae9a3b773fbe0fff766
parentc46b08c23f12f9819e93bd67b7147b1964cd7e8a (diff)
Fix porting mistake on next/prev page shortcuts
CCMAIL: lukas@kde.org BUGS: 347109
-rw-r--r--part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/part.cpp b/part.cpp
index 14e6c55..05590e8 100644
--- a/part.cpp
+++ b/part.cpp
@@ -571,7 +571,7 @@ void Part::setupViewerActions()
m_prevPage->setIconText( i18nc( "Previous page", "Previous" ) );
m_prevPage->setToolTip( i18n( "Go back to the Previous Page" ) );
m_prevPage->setWhatsThis( i18n( "Moves to the previous page of the document" ) );
- ac->setDefaultShortcuts(m_prevPage, KStandardShortcut::prior());
+ ac->setDefaultShortcut(m_prevPage, QKeySequence());
// dirty way to activate prev page when pressing miniBar's button
connect( m_miniBar, SIGNAL(prevPage()), m_prevPage, SLOT(trigger()) );
connect( m_pageNumberTool, SIGNAL(prevPage()), m_prevPage, SLOT(trigger()) );
@@ -583,7 +583,7 @@ void Part::setupViewerActions()
m_nextPage->setIconText( i18nc( "Next page", "Next" ) );
m_nextPage->setToolTip( i18n( "Advance to the Next Page" ) );
m_nextPage->setWhatsThis( i18n( "Moves to the next page of the document" ) );
- ac->setDefaultShortcuts(m_nextPage, KStandardShortcut::next());
+ ac->setDefaultShortcut(m_nextPage, QKeySequence());
// dirty way to activate next page when pressing miniBar's button
connect( m_miniBar, SIGNAL(nextPage()), m_nextPage, SLOT(trigger()) );
connect( m_pageNumberTool, SIGNAL(nextPage()), m_nextPage, SLOT(trigger()) );