summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-06 16:50:06 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-11-07 20:49:19 +0100
commit0a40266788021aaa2f501aeef6db2e222669c6e9 (patch)
tree56001f871766c30d1a92acc9fa2671bdfe0d020a /src/corelib/kernel/qmetaobject.cpp
parent22c0cf80c8edf1871be579bde5524f1f89b45db8 (diff)
QCocoaDrag: consistently update the last view and event pointers
As pointed out in the qcocoadrag.h header, we need QCocoaDrag to record the original event and view when handling an event in QNSView. For that, NSView's handleMouseEvent implementation called setLastMouseEvent. This was not done for tablet or touch events, although both of those event types might initiate and participate in drag'n'drop operation. Do that consistently now, and rename the setter accordingly to setLastInputEvent. Task-number: QTBUG-116554 Pick-to: 6.8 6.5 Change-Id: I9646adbec3a2301ebca123f0f25328db63c782a8 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions