diff options
| author | Elvis Angelaccio <[email protected]> | 2016-09-21 18:26:28 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2016-09-21 18:26:28 +0200 |
| commit | 478de351757965af05c9282df72f5720d3f53f31 (patch) | |
| tree | d83043a6e72e9338590df26716acd323b589d593 /src | |
| parent | ca53974181c17234f4522bd1635d4c0ab4281e1d (diff) | |
| parent | 3775ef19eaca057985b92cfa3716d3c3a1d22f0f (diff) | |
Merge branch 'Applications/16.08'
* Applications/16.08:
Properly check Shift toggling in DolphinRemoveAction
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinremoveaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinremoveaction.cpp b/src/dolphinremoveaction.cpp index c91d74579..10ab25112 100644 --- a/src/dolphinremoveaction.cpp +++ b/src/dolphinremoveaction.cpp @@ -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 { |
