summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlscript.cpp')
-rw-r--r--src/declarative/qml/qmlscript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlscript.cpp b/src/declarative/qml/qmlscript.cpp
index eb0b858..ba62898 100644
--- a/src/declarative/qml/qmlscript.cpp
+++ b/src/declarative/qml/qmlscript.cpp
@@ -54,8 +54,8 @@
\qml
Script {
function debugMyComponent() {
- print(text.text);
- print(otherinterestingitem.property);
+ console.log(text.text);
+ console.log(otherinterestingitem.property);
}
}
MouseRegion { onClicked: debugMyComponent() }