diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2022-03-16 13:14:38 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-27 03:47:27 +0000 |
commit | 08cc96e71d25f8eca5e3c2cbf25d7e34130e1e84 (patch) | |
tree | bcb30955f633a1cf43c87faecdf5158856d91279 /src/quick/util/qquickdeliveryagent_p_p.h | |
parent | 005460e35655b033988f10f6e1c00d3d4597e8e7 (diff) |
QQuickDeliverAgent: don't propagate hover to siblings
From testing Qt 6.1, hover events should not propagate
between siblings. As soon as a leaf item is found that
receives a hover events, the event should only propagate
up the parent chain starting from the leaf item.
Change-Id: I7448f5322f529addb2260b0ee2b02d2cfadb55e1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 499828b855d125ac236917f6ed01d8f1e7d88505)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick/util/qquickdeliveryagent_p_p.h')
-rw-r--r-- | src/quick/util/qquickdeliveryagent_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/util/qquickdeliveryagent_p_p.h b/src/quick/util/qquickdeliveryagent_p_p.h index 3e551beb27..b962864103 100644 --- a/src/quick/util/qquickdeliveryagent_p_p.h +++ b/src/quick/util/qquickdeliveryagent_p_p.h @@ -120,6 +120,7 @@ public: bool allowChildEventFiltering = true; bool allowDoubleClick = true; bool frameSynchronousHoverEnabled = true; + bool hoveredLeafItemFound = false; bool isSubsceneAgent = false; static bool subsceneAgentsExist; |