Skip to content
Verified Commit 53ca3fea authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

HeaderFooterLayout: Hide old items

Old items should be hidden when assigning new ones, otherwise they'd
just stay there being visible, even if behind the new items.
QQuickControl and QQuickPage do that (Control also goes a bit overboard
and in addition makes old contentItem explicitly invisible).

Ideally, we should be able to use "Deferred" pointer execution like
`Q_CLASSINFO("DeferredPropertyNames", "background,contentItem")`, but
at the moment of writing QQuickDeferredPointer is a private API.
parent 8b8cb987
Pipeline #497037 passed with stage
in 3 minutes and 55 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment