summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
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)
{