summaryrefslogtreecommitdiffstats
path: root/examples/declarative/webview/transparent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/webview/transparent.qml')
-rw-r--r--examples/declarative/webview/transparent.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/webview/transparent.qml b/examples/declarative/webview/transparent.qml
index 0807cc5..9332f3e 100644
--- a/examples/declarative/webview/transparent.qml
+++ b/examples/declarative/webview/transparent.qml
@@ -4,10 +4,10 @@ import Qt 4.6
// if the HTML does not specify a background
Rectangle {
color: "green"
- width: Web.width
- height: Web.height
+ width: web.width
+ height: web.height
WebView {
- id: Web
+ id: web
html: "Hello <b>World!</b>"
}
}