aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlprofiler/main.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <[email protected]>2025-04-28 19:09:40 +0200
committerShawn Rutledge <[email protected]>2025-05-02 07:27:07 +0200
commit31ca3936d38ecbc3aa93411654099f5a45b16c4f (patch)
tree9b32f879c957161452ab38105f580798a6543183 /tools/qmlprofiler/main.cpp
parentcc98876fea54e973f552ec33747c2e2a2fd32e08 (diff)
TextEdit and TextInput: map QContextMenuEvent to text cursor posHEADdev
...if the position is not already set. Events that come from a keyboard menu key or shortcut often have pos() == {0, 0}, but we want the context menu to be in the context of what the user is editing. First though, we need QQuickDeliveryAgentPrivate::contextMenuTargets() to search for items at the correct position. We don't override delivery order, but activeFocusItem should be in the list that is returned. Pick-to: 6.9 6.8 Fixes: QTBUG-136253 Change-Id: I7eea03e118a95a1a267f02bd3385cc1ae4cbb0a0 Reviewed-by: Mitch Curtis <[email protected]>
Diffstat (limited to 'tools/qmlprofiler/main.cpp')
0 files changed, 0 insertions, 0 deletions