summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/declarative/webbrowser/webbrowser.qml16
1 files changed, 2 insertions, 14 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml
index 4b03b63..df0e1a7 100644
--- a/demos/declarative/webbrowser/webbrowser.qml
+++ b/demos/declarative/webbrowser/webbrowser.qml
@@ -114,6 +114,7 @@ Item {
opacity: 1-Header.progressOff
clip: true
}
+
/*
KeyProxy {
id: proxy
@@ -140,24 +141,11 @@ Item {
anchors.leftMargin: 6
anchors.verticalCenter: UrlBox.verticalCenter
anchors.verticalCenterOffset: 1
-
- opacity: 0
- }
- Text {
- id: ShowUrl
- text: WebView.url == '' ? ' ' : WebView.url
- font.size: 11
- color: "#555555"
- anchors.left: UrlBox.left
- anchors.right: UrlBox.right
- anchors.leftMargin: 6
- anchors.verticalCenter: UrlBox.verticalCenter
- anchors.verticalCenterOffset: 1
}
}
MouseRegion {
anchors.fill: UrlBox
- onClicked: { proxy.focus=true }
+ onClicked: { EditUrl.focus=true }
}
}