aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorDoris Verria <doris.verria@qt.io>2024-06-11 17:23:57 +0200
committerDoris Verria <doris.verria@qt.io>2024-06-17 09:31:07 +0200
commit0e92b68ab2f1efdde7a54a3df4a9494eb9fc0a51 (patch)
tree741696475325df8f07c69a02e46158845240f125 /src/qml/compiler/qv4codegen.cpp
parent9ae58a8e6021654f9c2811cc6f4db97a46ac30b7 (diff)
Make sure ToolTip's children palette is updated
Popups are not QQuickItems so when updating the palette, we explicitly called QQuickPopupPrivate::updateContentPalettes for all children of type QQuickPopup of the application window. However, this didn't always work for tooltips when they were created via attached objects (QQuickToolTipAttached), which is a common way to create them. When QQuickToolTipAttached created the tooltip instance, the parent of it wouldn't be the parent item, but the QML engine. In this case we wouldn't find the toolTip in the list of children of the application window. To fix, we explicitly search for children of type QQuickToolTipAttached instead, whose parent is the parent item. Pick-to: 6.8 6.7 6.5 Change-Id: I70425b731f998622c93421eed11067a36b39fd75 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
0 files changed, 0 insertions, 0 deletions