aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qsganimatedimage/data/qtbug-16520.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qsganimatedimage/data/qtbug-16520.qml')
-rw-r--r--tests/auto/declarative/qsganimatedimage/data/qtbug-16520.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/declarative/qsganimatedimage/data/qtbug-16520.qml b/tests/auto/declarative/qsganimatedimage/data/qtbug-16520.qml
new file mode 100644
index 0000000000..da77a4063b
--- /dev/null
+++ b/tests/auto/declarative/qsganimatedimage/data/qtbug-16520.qml
@@ -0,0 +1,17 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 500
+ height: 500
+
+ AnimatedImage {
+ objectName: "anim"
+ anchors.centerIn: parent
+ asynchronous: true
+ opacity: status == AnimatedImage.Ready ? 1 : 0
+
+ Behavior on opacity {
+ NumberAnimation { duration: 1000 }
+ }
+ }
+}