mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
components/baseitem: remove useless children push
This commit is contained in:
parent
c821547121
commit
5013c1704e
1 changed files with 0 additions and 2 deletions
|
|
@ -33,13 +33,11 @@ Item {
|
||||||
onContentItemChanged: {
|
onContentItemChanged: {
|
||||||
contentItem.parent = contentItemLoader;
|
contentItem.parent = contentItemLoader;
|
||||||
contentItem.anchors.fill = contentItemLoader;
|
contentItem.anchors.fill = contentItemLoader;
|
||||||
contentItemLoader.children.push(contentItem);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onBackgroundChanged: {
|
onBackgroundChanged: {
|
||||||
background.parent = backgroundLoader;
|
background.parent = backgroundLoader;
|
||||||
background.anchors.fill = backgroundLoader;
|
background.anchors.fill = backgroundLoader;
|
||||||
backgroundLoader.children.push(background);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue