Commit 374b602d authored by Albert Astals Cid's avatar Albert Astals Cid

Add new standard KDE tab switching shortcuts (ctrl+pgup/pgdn)

BUG: 383603

Add the new KDE standard tab switching shortcuts that were introduced in

Test Plan: Built and tested with current git master in up-to-date KDE Neon. Expected behavior is seen (default shortcuts have become shift+left/right and cmd+pgup/pgdn).

Reviewers: #kde_applications, #konsole, hindenburg, aacid, ltoscano, pino, dfaure

Reviewed By: dfaure

Subscribers: dfaure, davidedmundson, aacid, #konsole

Tags: #konsole

Differential Revision:
parent 6d24721e
......@@ -245,11 +245,13 @@ void ViewManager::setupActions()
// keyboard shortcut only actions
collection->setDefaultShortcut(nextViewAction, Qt::SHIFT + Qt::Key_Right);
const QList<QKeySequence> nextViewActionKeys{Qt::SHIFT + Qt::Key_Right, Qt::CTRL + Qt::Key_PageDown};
collection->setDefaultShortcuts(nextViewAction, nextViewActionKeys);
connect(nextViewAction, &QAction::triggered, this, &Konsole::ViewManager::nextView);
collection->setDefaultShortcut(previousViewAction, Qt::SHIFT + Qt::Key_Left);
const QList<QKeySequence> previousViewActionKeys{Qt::SHIFT + Qt::Key_Left, Qt::CTRL + Qt::Key_PageUp};
collection->setDefaultShortcuts(previousViewAction, previousViewActionKeys);
connect(previousViewAction, &QAction::triggered, this, &Konsole::ViewManager::previousView);
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