summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/webview/zooming/resolution.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/visual/webview/zooming/resolution.qml')
-rw-r--r--tests/auto/declarative/visual/webview/zooming/resolution.qml15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/auto/declarative/visual/webview/zooming/resolution.qml b/tests/auto/declarative/visual/webview/zooming/resolution.qml
index bce6744..d6c35d4 100644
--- a/tests/auto/declarative/visual/webview/zooming/resolution.qml
+++ b/tests/auto/declarative/visual/webview/zooming/resolution.qml
@@ -6,12 +6,11 @@ WebView {
height: 250 * zoomFactor
scale: 1/zoomFactor
url: "resolution.html"
- zoomFactor:
- SequentialAnimation {
- loops: Animation.Infinite
- NumberAnimation { from: 1; to: 0.25; duration: 2000 }
- NumberAnimation { from: 0.25; to: 1; duration: 2000 }
- NumberAnimation { from: 1; to: 5; duration: 2000 }
- NumberAnimation { from: 5; to: 1; duration: 2000 }
- }
+ SequentialAnimation on zoomFactor {
+ loops: Animation.Infinite
+ NumberAnimation { from: 1; to: 0.25; duration: 2000 }
+ NumberAnimation { from: 0.25; to: 1; duration: 2000 }
+ NumberAnimation { from: 1; to: 5; duration: 2000 }
+ NumberAnimation { from: 5; to: 1; duration: 2000 }
+ }
}