Commit 805fe3b6 authored by Laurent Montel's avatar Laurent Montel 😁

Merge remote-tracking branch 'origin/Applications/16.04'

parents 540acf9b ba9cecc0
......@@ -3268,7 +3268,7 @@ void KMMainWidget::setupActions()
{
QAction *action = new QAction(i18n("&Next Message"), this);
actionCollection()->addAction(QStringLiteral("go_next_message"), action);
actionCollection()->setDefaultShortcut(action, QKeySequence(QStringLiteral("N; Right")));
actionCollection()->setDefaultShortcuts(action, QList<QKeySequence> { QKeySequence(Qt::Key_N), QKeySequence(Qt::Key_Right) });
KMail::Util::addQActionHelpText(action, i18n("Go to the next message"));
connect(action, &QAction::triggered, this, &KMMainWidget::slotSelectNextMessage);
}
......@@ -3289,7 +3289,7 @@ void KMMainWidget::setupActions()
QAction *action = new QAction(i18n("&Previous Message"), this);
actionCollection()->addAction(QStringLiteral("go_prev_message"), action);
KMail::Util::addQActionHelpText(action, i18n("Go to the previous message"));
actionCollection()->setDefaultShortcut(action, QKeySequence(QStringLiteral("P; Left")));
actionCollection()->setDefaultShortcuts(action, QList<QKeySequence> { QKeySequence(Qt::Key_P), QKeySequence(Qt::Key_Left) });
connect(action, &QAction::triggered, this, &KMMainWidget::slotSelectPreviousMessage);
}
{
......
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