summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscript.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-25 06:28:38 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-25 06:28:38 (GMT)
commitb74e226c09bc37043a06b24029e0e22e4f3cdd16 (patch)
tree11bd335cd176eac754c5ea5af8ae41cec74d22c0 /src/declarative/qml/qmlscript.cpp
parent1c9dcb09b79d77bc7d4958e1393437597892bb0b (diff)
downloadQt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.zip
Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.tar.gz
Qt-b74e226c09bc37043a06b24029e0e22e4f3cdd16.tar.bz2
Small doc fixes.
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() }