mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
Merge branch 'Applications/16.08'
* Applications/16.08: Properly check Shift toggling in DolphinRemoveAction
This commit is contained in:
commit
478de35175
|
@ -45,7 +45,7 @@ void DolphinRemoveAction::update()
|
|||
// Using setText(action->text()) does not apply the &-shortcut.
|
||||
// This is only done until the original action has been shown at least once. To
|
||||
// bypass this issue, the text and &-shortcut is applied manually.
|
||||
if (qApp->keyboardModifiers() & Qt::ShiftModifier) {
|
||||
if (qApp->queryKeyboardModifiers() & Qt::ShiftModifier) {
|
||||
m_action = m_collection ? m_collection->action(QStringLiteral("delete")) : 0;
|
||||
setText(i18nc("@action:inmenu", "&Delete"));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue