diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-06-10 15:47:44 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-06-20 06:41:40 +0000 |
commit | f7e462ba153ff33a02cad903efc8662f1eacd225 (patch) | |
tree | 15eee6f8452a5dfcf60e7301b374a1e8656a9729 /src/quick/items/qquickitem_p.h | |
parent | 156d10e16557b0d9f6c66963019f267314e73f13 (diff) |
fix incorrect propagation of hover events in some cases
Both the item itself and its descendants need to be considered together
when deciding whether or not it is interested in hover events.
A correction to f728a514abdf59e2ac556eef027a69d9f21db4b2.
Rename it while we're at it, to make the new meaning clearer.
Task-number: QTBUG-54019
Change-Id: I1fe9f4a7f71d037a542ffefd0f3aff6f52a80a40
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/quick/items/qquickitem_p.h')
-rw-r--r-- | src/quick/items/qquickitem_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickitem_p.h b/src/quick/items/qquickitem_p.h index 477071f7b3..0c5a8abb4a 100644 --- a/src/quick/items/qquickitem_p.h +++ b/src/quick/items/qquickitem_p.h @@ -429,7 +429,7 @@ public: bool hasCursor:1; bool hasCursorInChild:1; // Bit 32 - bool hasHoverInChild:1; + bool subtreeHoverEnabled:1; bool activeFocusOnTab:1; bool implicitAntialiasing:1; bool antialiasingValid:1; |