summaryrefslogtreecommitdiff
path: root/tests/auto/quick/qquickanimations/data/doubleRegistrationBug.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickanimations/data/doubleRegistrationBug.qml')
-rw-r--r--tests/auto/quick/qquickanimations/data/doubleRegistrationBug.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickanimations/data/doubleRegistrationBug.qml b/tests/auto/quick/qquickanimations/data/doubleRegistrationBug.qml
new file mode 100644
index 0000000000..9ef3da20c0
--- /dev/null
+++ b/tests/auto/quick/qquickanimations/data/doubleRegistrationBug.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 400; height: 400
+
+ Double { id: dub; on: parent.width < 800 }
+ Component.onCompleted: dub.on = false
+}