Ensure ctrl + click sends a right mouse button press in Cocoa
authorAndy Shaw <andy.shaw@digia.com>
Mon, 3 Dec 2012 21:03:53 +0000 (22:03 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 4 Dec 2012 14:31:55 +0000 (15:31 +0100)
commitf6cc1f3aeae795e7ed67338b17b860df9f5146a7
treecaeb3b6825ad5a5ca5645c4524cea8df8884e408
parent348c5bd19a08b3a341e066234ef4fb08ee81e3c0
Ensure ctrl + click sends a right mouse button press in Cocoa

Since Mac's typically just have one button for their mice then pressing
Control then clicking the button should end it as a right mouse button
event.

Task-number: QTBUG-28350
Change-Id: Iabcac5b315c36cb8cd062c27d7b1506bc066f5bb
Reviewed-by: Liang Qi <liang.qi@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/plugins/platforms/cocoa/qnsview.h
src/plugins/platforms/cocoa/qnsview.mm