diff options
Diffstat (limited to 'tests/auto/quick/qquickstates/data/avoidFastForward.qml')
-rw-r--r-- | tests/auto/quick/qquickstates/data/avoidFastForward.qml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickstates/data/avoidFastForward.qml b/tests/auto/quick/qquickstates/data/avoidFastForward.qml new file mode 100644 index 0000000000..519befc31e --- /dev/null +++ b/tests/auto/quick/qquickstates/data/avoidFastForward.qml @@ -0,0 +1,17 @@ +import QtQuick 2.0 + +Rectangle { + id: rect + width: 200 + height: 200 + + property int updateCount: 0 + onColorChanged: updateCount++ + + property color aColor: "green" + + states: State { + name: "a" + PropertyChanges { target: rect; color: aColor } + } +} |