summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-18 23:35:40 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-18 23:35:40 (GMT)
commit27888400bffdf033f4df48d29fde429efdf2b51c (patch)
treefd438c3e731cfb3879fd49da1faf0ebd1c4a6b60 /demos/declarative/webbrowser
parent0b991014c55d02211eee01cad44b4ca4a2edb07d (diff)
downloadQt-27888400bffdf033f4df48d29fde429efdf2b51c.zip
Qt-27888400bffdf033f4df48d29fde429efdf2b51c.tar.gz
Qt-27888400bffdf033f4df48d29fde429efdf2b51c.tar.bz2
Pass error messages through to WebView users.
Diffstat (limited to 'demos/declarative/webbrowser')
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index 0f6ed25..345c9af 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -196,6 +196,8 @@ Item {
fillColor: "white"
focus: true
+ onAlert: print(message)
+
function doZoom(zoom,centerX,centerY)
{
if (centerX) {