summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication_p.h
diff options
context:
space:
mode:
authorEven Oscar Andersen <even.oscar.andersen@qt.io>2025-12-05 09:34:41 +0100
committerEven Oscar Andersen <even.oscar.andersen@qt.io>2025-12-07 21:42:11 +0100
commit78e58e243aa7dda4d52ad7c2fdfd56c786f86986 (patch)
treee8f3a1fbdcc26671e56c8fc6a8f088c181d1e52f /src/gui/kernel/qguiapplication_p.h
parentef7f38ca937c08124ae856c3ebd41185eb78e9e1 (diff)
wasm: draganddrop Make sure dropaction is correct in all casesHEADdev
We do not necessarily run the functions in QWasmDrag, but might instead run the QSimpleDrag object. So we cannot rely on m_dragState->dropAction, but have to get the dropAction from QSimpleDrag. To make QWasmDrag work we call setExecutedDropAction in the cases where it is needed. Also, do not retry the drag operation if jspi && IgnoreAction. Fixes: QTBUG-142512 Change-Id: I2f1548db50a064033d1071a07cc42f1488610905 Reviewed-by: Lorn Potter <lorn.potter@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
0 files changed, 0 insertions, 0 deletions