summaryrefslogtreecommitdiffstats
path: root/src/concurrent
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2016-11-22 15:35:24 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2017-01-24 13:10:52 +0000
commit1b1686d194731d940a40112635647536ac8ee676 (patch)
treee2031cc664352334063006a745f85804da80538f /src/concurrent
parentfc893d949c2d8924ea42b10b6b1dce118c3c985c (diff)
Fix mouse extra button mapping on macOS
Previously extra mouse buttons apart from left, right and middle buttons, were mapped incorrectly with an offset of -1. This resulted in the first extra button being recognized as the middle button, the second extra button as the first extra button, etc. Fix consists in using a binary shift with proper offset to create the corresponding Qt::MouseButton value. [ChangeLog][macOS] Fixed extra mouse buttons to be mapped to correct Qt::MouseButton values. Change-Id: I9e6084586cd4737a172b7706a805211f0edff749 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/concurrent')
0 files changed, 0 insertions, 0 deletions