components/baseitem: remove useless children push

This commit is contained in:
Yari Polla 2023-10-14 20:02:05 +02:00 committed by Devin Lin
parent c821547121
commit 5013c1704e

View file

@ -33,13 +33,11 @@ Item {
onContentItemChanged: {
contentItem.parent = contentItemLoader;
contentItem.anchors.fill = contentItemLoader;
contentItemLoader.children.push(contentItem);
}
onBackgroundChanged: {
background.parent = backgroundLoader;
background.anchors.fill = backgroundLoader;
backgroundLoader.children.push(background);
}
Item {