diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-08-24 01:31:21 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-08-24 01:31:21 (GMT) |
commit | d3e617b7cdad271623986ab4bfce1784477f7594 (patch) | |
tree | 7da190bad9cc809dcf45f0c8f699f290de990b82 /demos/declarative/webbrowser/webbrowser.qml | |
parent | 4165b5af295f7cd2282676d836b6537ce3c76f69 (diff) | |
download | Qt-d3e617b7cdad271623986ab4bfce1784477f7594.zip Qt-d3e617b7cdad271623986ab4bfce1784477f7594.tar.gz Qt-d3e617b7cdad271623986ab4bfce1784477f7594.tar.bz2 |
tidy
Diffstat (limited to 'demos/declarative/webbrowser/webbrowser.qml')
-rw-r--r-- | demos/declarative/webbrowser/webbrowser.qml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml index 232871f..ec3a2a0 100644 --- a/demos/declarative/webbrowser/webbrowser.qml +++ b/demos/declarative/webbrowser/webbrowser.qml @@ -133,13 +133,6 @@ Item { id: EditUrl mouseGrabbed: parent.mouseGrabbed - /*<<<<<<< HEAD:demos/declarative/webbrowser/webbrowser.qml - text: MyWebView.url == '' ? ' ' : MyWebView.url - wrap: false - font.pointSize: 11 - color: "#555555" - focusOnPress: true - =======*/ text: WebBrowser.urlString label: "url:" onConfirmed: { print ('OnConfirmed: '+EditUrl.text); WebBrowser.urlString = EditUrl.text; print (EditUrl.text); MyWebView.focus=true } @@ -207,7 +200,7 @@ Item { idealHeight: Flick.height/scale scale: (width > 0) ? Flick.width/width*zoomedOut+(1-zoomedOut) : 1 - onUrlChanged: { print ('OnUrlChanged: '+url.toString()); WebBrowser.urlString = url.toString(); print ('Moved to url: ' + WebBrowser.urlString) } + onUrlChanged: { if (url != null) { WebBrowser.urlString = url.toString(); } } onDoubleClick: { toggleZoom() } property real zoomedOut : 1 |