4
0
mirror of https://github.com/QuasarApp/ViewSolutions.git synced 2025-05-01 20:19:43 +00:00

fix error logs

This commit is contained in:
Andrei Yankovich 2020-05-16 17:01:38 +03:00
parent 3b8cbe4710
commit 49c2e8f830

@ -70,7 +70,7 @@ Item {
if (background !== flickable.backgroundOld) { if (background !== flickable.backgroundOld) {
if (flickable.backgroundOld) { if (flickable.backgroundOld) {
flickable.backgroundOld.destroy() flickable.backgroundOld.parent = null
} }
background.parent = this; background.parent = this;
@ -83,7 +83,8 @@ Item {
if (bloor !== flickable.bloorOld) { if (bloor !== flickable.bloorOld) {
if (flickable.bloorOld) { if (flickable.bloorOld) {
flickable.bloorOld.destroy() flickable.bloorOld.parent = null
} }
bloor.parent = this; bloor.parent = this;
bloor.anchors.fill = this; bloor.anchors.fill = this;
@ -94,7 +95,8 @@ Item {
if (content !== flickable.contentOld) { if (content !== flickable.contentOld) {
if (flickable.contentOld) { if (flickable.contentOld) {
flickable.contentOld.destroy() flickable.contentOld.parent = null
} }
content.parent = this; content.parent = this;
content.anchors.fill = this; content.anchors.fill = this;