summaryrefslogtreecommitdiffstats
path: root/examples/declarative/dynamic
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-23 05:37:32 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-23 05:37:32 (GMT)
commitdd9617e4cdf05319f272804e293d870a00aa0b66 (patch)
tree88749a324f7e052ae93a550e9be89a37ce7f7e48 /examples/declarative/dynamic
parent624c561d64e37f8fe8cd06d4ce779b8794baddcb (diff)
downloadQt-dd9617e4cdf05319f272804e293d870a00aa0b66.zip
Qt-dd9617e4cdf05319f272804e293d870a00aa0b66.tar.gz
Qt-dd9617e4cdf05319f272804e293d870a00aa0b66.tar.bz2
Replace usage of print() with console.log().
Diffstat (limited to 'examples/declarative/dynamic')
-rw-r--r--examples/declarative/dynamic/qml/itemCreation.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/dynamic/qml/itemCreation.js b/examples/declarative/dynamic/qml/itemCreation.js
index 4fa0d9f..98d48a8 100644
--- a/examples/declarative/dynamic/qml/itemCreation.js
+++ b/examples/declarative/dynamic/qml/itemCreation.js
@@ -32,7 +32,7 @@ function loadComponent() {
createItem();
itemComponent = Qt.createComponent(itemButton.file);
- //print(itemButton.file)
+ //console.log(itemButton.file)
if(itemComponent.isLoading){
component.statusChanged.connect(finishCreation);
}else{//Depending on the content, it can be ready or error immediately
@@ -51,8 +51,8 @@ function createItem() {
draggedItem.z = 4;//On top
} else if (itemComponent.isError) {
draggedItem = null;
- print("error creating component");
- print(component.errorsString());
+ console.log("error creating component");
+ console.log(component.errorsString());
}
}