aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/parentchange.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/doc/snippets/qml/parentchange.qml')
-rw-r--r--src/quick/doc/snippets/qml/parentchange.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/doc/snippets/qml/parentchange.qml b/src/quick/doc/snippets/qml/parentchange.qml
index 777fa225eb..4f1fb2a286 100644
--- a/src/quick/doc/snippets/qml/parentchange.qml
+++ b/src/quick/doc/snippets/qml/parentchange.qml
@@ -43,13 +43,13 @@ import QtQuick 2.0
Item {
width: 200; height: 100
- Rectangle {
+ Rectangle {
id: redRect
width: 100; height: 100
color: "red"
}
- Rectangle {
+ Rectangle {
id: blueRect
x: redRect.width
width: 50; height: 50