[MouseEventListener] Allow accepting mouse event

Authored by broulik on Nov 23 2017, 10:04 AM.

Description

[MouseEventListener] Allow accepting mouse event

This will keep the event from propagating. Accepting a press event will also not result in
clicked or pressAndHold being handled.

In Qt 5.10 event propagation changed resulting in FolderView opening both the item context menu
and containment context menu. Imho this actually makes sense since we never accepted the
mouse event there.

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

Details

Committed
broulikNov 23 2017, 10:04 AM
Differential Revision
D8864: RFC: [MouseEventListener] Allow accepting mouse event
Parents
R296:fcecbc5c67f7: use a single QML engine
Branches
Unknown
Tags
Unknown