summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2016-09-27 09:13:12 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2016-09-27 11:24:57 +0000
commite3cbf0f1962958457f6e09fcfdc92d8cac4b6511 (patch)
treeb20e9409cab5f00c90017e01d4cfdfeab60abd9f /src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp
parent6af82fe9fd19361f56ea4bf5a6be371722bafde3 (diff)
Cocoa: Get mouse position from the event
We want the coordinates for a mouse event to be the position at the time of event generation, not the current position. This is a followup to 39be577c which fixed this for some cases. This commit replaces all usages of [NSEvent mouseLocation] with code that gets the location from the event. Change-Id: I691a46a61ce65e2b33335453b5b22de01f76d767 Task-id: QTBUG-54399 Task-id: QTBUG-37926 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp')
0 files changed, 0 insertions, 0 deletions