Diffusion Krita 3e5fe478a5fa

Ignore mouse events for buttons not handled

Authored by mwein on Jan 8 2020, 1:23 AM.

Description

Ignore mouse events for buttons not handled

This is required to propagate events for the popup palette
to close on right-click.
Also, it is not necessary to track ourselves which buttons are
pressed, QMouseEvent::buttons() does that already.

Details

Committed
mweinMar 24 2020, 9:29 PM
Parents
R37:ea08405a397d: Fix build error on Qt 5.9 using KeyValueIterator
Branches
Unknown
Tags
Unknown