aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/views/objectmodel
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2021-04-30 10:38:37 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2021-04-30 10:55:58 +0200
commit9a7b31b736c1e4f68643c1c8ccce6d4177ac9bc6 (patch)
tree53640b616a978914c1528b6c80a4b527425fd9e4 /examples/quick/views/objectmodel
parent81768ae09b85e430d9a4c1c070c2d86c70d83c33 (diff)
examples/quick/views: Fix a few warnings
Change-Id: Iac5df82ff708e37a0cb985e0b83878e7f9b107e1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'examples/quick/views/objectmodel')
-rw-r--r--examples/quick/views/objectmodel/objectmodel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/views/objectmodel/objectmodel.qml b/examples/quick/views/objectmodel/objectmodel.qml
index c9e4b8a5cd..7ef32bfd45 100644
--- a/examples/quick/views/objectmodel/objectmodel.qml
+++ b/examples/quick/views/objectmodel/objectmodel.qml
@@ -84,7 +84,7 @@ Rectangle {
color: "#F4F0FF"
Text { text: "Page 3"; font.bold: true; anchors.centerIn: parent }
- Component.onDestruction: if (root.activeFocusprintDestruction) print("destroyed 3")
+ Component.onDestruction: if (root.printDestruction) print("destroyed 3")
}
}