summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2017-04-03 11:21:55 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-04-03 10:25:23 +0000
commitd4008780481454d7a2be8815062e841b1043147b (patch)
treeafd81714dee0d472e7ccf56a9e4d06bc3ccf9121 /tests
parent89644c7f31b59fbb186bdcafd30c3aefb9ee0644 (diff)
Fix QML registration of QAnimationClipLoader
Change-Id: I8fae537aa38059ff2592c2f49c238408ea27f7e0 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/animation-keyframe-blendtree/main.qml4
-rw-r--r--tests/manual/animation-keyframe-simple/main.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/manual/animation-keyframe-blendtree/main.qml b/tests/manual/animation-keyframe-blendtree/main.qml
index 0c28b8fd3..abc63bffa 100644
--- a/tests/manual/animation-keyframe-blendtree/main.qml
+++ b/tests/manual/animation-keyframe-blendtree/main.qml
@@ -45,10 +45,10 @@ DefaultSceneEntity {
blendTree: LerpClipBlend {
blendFactor: 0.2
startClip: ClipBlendValue {
- clip: AnimationClip { source: "sliding-cube.json" }
+ clip: AnimationClipLoader { source: "sliding-cube.json" }
}
endClip: ClipBlendValue {
- clip: AnimationClip { source: "sliding-pulsing-cube.json" }
+ clip: AnimationClipLoader { source: "sliding-pulsing-cube.json" }
}
}
diff --git a/tests/manual/animation-keyframe-simple/main.qml b/tests/manual/animation-keyframe-simple/main.qml
index 17744209a..028427998 100644
--- a/tests/manual/animation-keyframe-simple/main.qml
+++ b/tests/manual/animation-keyframe-simple/main.qml
@@ -41,7 +41,7 @@ DefaultSceneEntity {
loops: 3
onRunningChanged: console.log("running = " + running)
- clip: AnimationClip {
+ clip: AnimationClipLoader {
source: "cubeanimation.json"
onDurationChanged: console.log("duration = " + duration)
}