aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-12-01 00:13:22 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2024-12-04 10:07:47 +0100
commita741e53a0f886401eca1891e8e79c2d88d0d4da1 (patch)
tree5f57880083c4e114ea8b0a96dc26a7a397e35529 /src/qml/jsruntime/qv4engine.cpp
parent0b182937e01f602616f9b5a395ac12c3eee5ebc8 (diff)
Pick up additional safe area margins when attached to window
We can't go through qmlAttachedPropertiesObject when walking the parent item hierarchy as that will only return an existing safe area if we ask it for the QQuickWindow's safe area, and we've mapped that to the window's content item and attached the safe area to that. Instead we check for direct children of the safe area type, which works for both the window's content item as well as the popup's popup item. Change-Id: Ifed146a931625f6c40475734dc5dccc1d152a885 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions