diff options
Diffstat (limited to 'tests/auto/quick/qquickanimations/data/registrationBug.qml')
-rw-r--r-- | tests/auto/quick/qquickanimations/data/registrationBug.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickanimations/data/registrationBug.qml b/tests/auto/quick/qquickanimations/data/registrationBug.qml new file mode 100644 index 0000000000..633da4e17f --- /dev/null +++ b/tests/auto/quick/qquickanimations/data/registrationBug.qml @@ -0,0 +1,18 @@ +import QtQuick 2.0 + +Rectangle { + id: rect + width: 200 + height: 200 + + property bool animating: true + property int value: 0 + + NumberAnimation { + target: rect + property: "value" + running: rect.animating + to: 100 + duration: 50 + } +} |