diff options
author | Shawn Rutledge <[email protected]> | 2025-10-10 13:03:09 +0200 |
---|---|---|
committer | Shawn Rutledge <[email protected]> | 2025-10-10 13:07:01 +0200 |
commit | 18d7df7eac8779dc336d1de71d4d395d516f39f0 (patch) | |
tree | 6dccc4d0f2b6a6bc00971e9aca5c4a199ad9b536 | |
parent | ceb49a8736bef5077c15b1154e14079e1b73e932 (diff) |
Fix internal doc comment on QQuickDeliveryAgentPrivate::eventTargets
The comment was from an earlier iteration but didn't match the current
implementation. Amends a89a34463bff3d00b96732fd3ebf84116a645248
Pick-to: 6.10
Change-Id: Ib0490b98cfa8f4b17d747b5b77cdedbd13be522a
Reviewed-by: Shawn Rutledge <[email protected]>
-rw-r--r-- | src/quick/util/qquickdeliveryagent.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/util/qquickdeliveryagent.cpp b/src/quick/util/qquickdeliveryagent.cpp index 9fe24fbc38..7e383a7de9 100644 --- a/src/quick/util/qquickdeliveryagent.cpp +++ b/src/quick/util/qquickdeliveryagent.cpp @@ -2097,12 +2097,12 @@ void QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent *event) /*! \internal Returns a list of all items that are spatially relevant to receive \a event - occurring at \a itemPos relative to \a item, starting with \a item and - recursively checking all the children. + occurring at \a scenePos, starting with \a item and recursively + checking all the children. \list - \li If QQuickItem::clip() is \c true \e and \a itemPos is outside of + \li If QQuickItem::clip() is \c true \e and \a scenePos is outside of QQuickItem::clipRect(), its children are also omitted. (We stop the - recursion, because any clipped-off portions of children under \a itemPos + recursion, because any clipped-off portions of children under \a scenePos are invisible.) \li Ignore any item in a subscene that "belongs to" a different DeliveryAgent. (In current practice, this only happens in 2D scenes in |