summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:27:32 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-23 04:27:32 (GMT)
commit8ac4581718767c498192cdffdfc97211d0030e7b (patch)
tree6e387ee865d5304c02fb93fa128a72d6a8892fec /demos
parent62b51f36c41fdef46b785d8f3a9443c016a9263a (diff)
downloadQt-8ac4581718767c498192cdffdfc97211d0030e7b.zip
Qt-8ac4581718767c498192cdffdfc97211d0030e7b.tar.gz
Qt-8ac4581718767c498192cdffdfc97211d0030e7b.tar.bz2
Use console.log, not print
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/twitter/content/AuthView.qml2
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/twitter/content/AuthView.qml b/demos/declarative/twitter/content/AuthView.qml
index c924649..8fb00f8 100644
--- a/demos/declarative/twitter/content/AuthView.qml
+++ b/demos/declarative/twitter/content/AuthView.qml
@@ -30,7 +30,7 @@ Item {
Item {
id: tabber
//Note: it's not working yet
- Keys.onPressed: {if(event.key == Qt.Key_Tab){print('Tab works!'); passIn.focus = true; accept(); }}
+ Keys.onPressed: {if(event.key == Qt.Key_Tab){console.log('Tab works!'); passIn.focus = true; accept(); }}
}
}
}
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index 345c9af..bfc0749 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -196,7 +196,7 @@ Item {
fillColor: "white"
focus: true
- onAlert: print(message)
+ onAlert: console.log(message)
function doZoom(zoom,centerX,centerY)
{