]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix DolphinRemoveAction Shift toggling on Wayland
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 24 Aug 2017 16:33:27 +0000 (18:33 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Thu, 7 Sep 2017 19:31:42 +0000 (21:31 +0200)
QGuiApplication::queryKeyboardModifiers() does not work on Wayland [1].
We don't need it in the first place, since we already know (thanks to
the key events) whether Shift has been pressed or released.
So we can just pass this information to DolphinRemoveAction::update().

BUG: 354301

[1]: https://bugreports.qt.io/browse/QTBUG-62786

Differential Revision: https://phabricator.kde.org/D7519


No differences found