summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/qml-in-html.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/webview/qml-in-html.qml')
-rw-r--r--examples/declarative/webview/qml-in-html.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/webview/qml-in-html.qml b/examples/declarative/webview/qml-in-html.qml
index b9c8d94..43cc61b 100644
--- a/examples/declarative/webview/qml-in-html.qml
+++ b/examples/declarative/webview/qml-in-html.qml
@@ -6,10 +6,10 @@ Rectangle {
Flickable {
width: parent.width
height: parent.height/2
- viewportWidth: Web.width*Web.scale
- viewportHeight: Web.height*Web.scale
+ viewportWidth: web.width*web.scale
+ viewportHeight: web.height*web.scale
WebView {
- id: Web
+ id: web
width: 250
height: 420
scale: 0.75