]> cloud.milkyroute.net Git - dolphin.git/commit
Fix shift-action modifier in context menu
authorDerek Christ <christ.derek@gmail.com>
Fri, 18 Jun 2021 13:12:54 +0000 (15:12 +0200)
committerMéven Car <meven29@gmail.com>
Tue, 22 Jun 2021 08:53:55 +0000 (08:53 +0000)
commitdc3beae3ab2c55cd3501e17f93b51e93e876a177
tree0d1f9b1a1f536046734f69124940d6c68802a8fd
parent0a0d0c48ee228e5117a85ee6ebdf8af93aa54d60
Fix shift-action modifier in context menu

Before this patch, the shift-action modifier in context menus did not
work when a sub-context menu is open, that does not have the main
context menu as its parent.
The new fix installs an event filter on QApplication whenever a new
context menu is opened to make the context menu aware of shift-presses
even when a sub-context menu is in focus.

BUG: 425997
FIXED-IN: 21.04
src/dolphincontextmenu.cpp
src/dolphincontextmenu.h