┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinremoveaction.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2016-09-21 18:26:28 +0200
committerElvis Angelaccio <[email protected]>2016-09-21 18:26:28 +0200
commit478de351757965af05c9282df72f5720d3f53f31 (patch)
treed83043a6e72e9338590df26716acd323b589d593 /src/dolphinremoveaction.cpp
parentca53974181c17234f4522bd1635d4c0ab4281e1d (diff)
parent3775ef19eaca057985b92cfa3716d3c3a1d22f0f (diff)
Merge branch 'Applications/16.08'
* Applications/16.08: Properly check Shift toggling in DolphinRemoveAction
Diffstat (limited to 'src/dolphinremoveaction.cpp')
-rw-r--r--src/dolphinremoveaction.cpp2
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 {