summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-11-18 05:09:13 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-11-18 05:09:13 (GMT)
commit46c4a95f70deb36c8877d4d8a1e419490d9100ab (patch)
tree39ebfa06e53a22cab5eafd5fbdaeb32a9ceed188
parent9614a2775df27602b1d1bb0946feb4bb593cbf39 (diff)
downloadQt-46c4a95f70deb36c8877d4d8a1e419490d9100ab.zip
Qt-46c4a95f70deb36c8877d4d8a1e419490d9100ab.tar.gz
Qt-46c4a95f70deb36c8877d4d8a1e419490d9100ab.tar.bz2
Fix URL update in demo
If you manually typed in a url in the qml webbrowser demo the browser stopped updating the url bar with the current page your are on.
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index 23e0a20..0f6ed25 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -216,7 +216,7 @@ Item {
preferredHeight: flickable.height
zoomFactor: flickable.width > 980 ? 1 : flickable.width/980
- onUrlChanged: { if (url != null) { webBrowser.urlString = url.toString(); } }
+ onUrlChanged: { if (url != null) { editUrl.text = url.toString(); } }
onDoubleClick: {
if (!heuristicZoom(clickX,clickY,2.5)) {
var zf = flickable.width > 980 ? 1 : flickable.width/980;