diff --git a/kate/katemainwindow.cpp b/kate/katemainwindow.cpp --- a/kate/katemainwindow.cpp +++ b/kate/katemainwindow.cpp @@ -232,13 +232,17 @@ QAction * a = actionCollection()->addAction(KStandardAction::Back, QStringLiteral("view_prev_tab")); a->setText(i18n("&Previous Tab")); a->setWhatsThis(i18n("Focus the previous tab.")); - actionCollection()->setDefaultShortcuts(a, a->shortcuts() << KStandardShortcut::tabPrev()); + QList tabPrevShortcuts = KStandardShortcut::tabPrev(); + tabPrevShortcuts.removeAll(Qt::CTRL + Qt::Key_PageUp); // KTextEditor uses this for Move to Up of View... + actionCollection()->setDefaultShortcuts(a, tabPrevShortcuts); connect(a, SIGNAL(triggered()), this, SLOT(slotFocusPrevTab())); a = actionCollection()->addAction(KStandardAction::Forward, QStringLiteral("view_next_tab")); a->setText(i18n("&Next Tab")); a->setWhatsThis(i18n("Focus the next tab.")); - actionCollection()->setDefaultShortcuts(a, a->shortcuts() << KStandardShortcut::tabNext()); + QList tabNextShortcuts = KStandardShortcut::tabNext(); + tabNextShortcuts.removeAll(Qt::CTRL + Qt::Key_PageDown); // KTextEditor uses this for Move to Bottom of View... + actionCollection()->setDefaultShortcuts(a, tabNextShortcuts); connect(a, SIGNAL(triggered()), this, SLOT(slotFocusNextTab())); // the quick open action is used by the KateViewSpace "quick open button"