summaryrefslogtreecommitdiffstats
path: root/examples/declarative/behaviours
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:27:13 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:27:13 (GMT)
commit62b51f36c41fdef46b785d8f3a9443c016a9263a (patch)
treefb6878c5036de4d76a5a19011b9531ef5949a437 /examples/declarative/behaviours
parent3c4df26a8d184b728395c8aad26b05626176b7b5 (diff)
downloadQt-62b51f36c41fdef46b785d8f3a9443c016a9263a.zip
Qt-62b51f36c41fdef46b785d8f3a9443c016a9263a.tar.gz
Qt-62b51f36c41fdef46b785d8f3a9443c016a9263a.tar.bz2
Use console.log, not print
Diffstat (limited to 'examples/declarative/behaviours')
-rw-r--r--examples/declarative/behaviours/test.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/behaviours/test.qml b/examples/declarative/behaviours/test.qml
index 4a44fd7..1869c45 100644
--- a/examples/declarative/behaviours/test.qml
+++ b/examples/declarative/behaviours/test.qml
@@ -7,7 +7,7 @@ Rectangle {
id: page
MouseRegion {
anchors.fill: parent
- onClicked: { bluerect.parent = page; print(mouseX); bluerect.x = mouseX; }
+ onClicked: { bluerect.parent = page; console.log(mouseX); bluerect.x = mouseX; }
}
MyRect {
color: "green"