D7519: Fix DolphinRemoveAction Shift toggling on Wayland

Elvis Angelaccio noreply at phabricator.kde.org
Thu Aug 24 17:38:32 BST 2017


elvisangelaccio created this revision.
Restricted Application added a subscriber: Konqueror.

REVISION SUMMARY
  QGuiApplication::queryKeyboardModifiers() does not work on Wayland.
  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

TEST PLAN
  Shift toggling in context menu now works on Wayland.

REPOSITORY
  R318 Dolphin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D7519

AFFECTED FILES
  src/dolphincontextmenu.cpp
  src/dolphinpart.cpp
  src/dolphinremoveaction.cpp
  src/dolphinremoveaction.h

To: elvisangelaccio, #dolphin
Cc: #konqueror
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20170824/b18332af/attachment.htm>


More information about the kfm-devel mailing list