summaryrefslogtreecommitdiffstats
path: root/examples/declarative/toys/dynamicscene/qml/itemCreation.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/toys/dynamicscene/qml/itemCreation.js')
-rw-r--r--examples/declarative/toys/dynamicscene/qml/itemCreation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/toys/dynamicscene/qml/itemCreation.js b/examples/declarative/toys/dynamicscene/qml/itemCreation.js
index 59750f3..443c448 100644
--- a/examples/declarative/toys/dynamicscene/qml/itemCreation.js
+++ b/examples/declarative/toys/dynamicscene/qml/itemCreation.js
@@ -36,7 +36,7 @@ function createItem() {
} else if (itemComponent.status == Component.Error) {
draggedItem = null;
console.log("error creating component");
- console.log(component.errorsString());
+ console.log(itemComponent.errorsString());
}
}