summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/webview/zooming/resolution.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-26 05:57:19 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-28 23:50:08 (GMT)
commitfbcf257f0988f1ffef442195acc9f4b4c1527870 (patch)
tree089261bfcca4caf355276c6caf4ebf27f04f1047 /tests/auto/declarative/visual/webview/zooming/resolution.qml
parent078ff776e37aebe5b7e88e4b4f21da1158fac3c7 (diff)
downloadQt-fbcf257f0988f1ffef442195acc9f4b4c1527870.zip
Qt-fbcf257f0988f1ffef442195acc9f4b4c1527870.tar.gz
Qt-fbcf257f0988f1ffef442195acc9f4b4c1527870.tar.bz2
Syntax and other small fixes for the visual tests.
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 }
+ }
}