diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-05-24 05:40:29 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-05-24 05:42:25 (GMT) |
commit | 180e2ce2cca53f2c395e8dc9213d714c396c4555 (patch) | |
tree | 2d4b88146da1c43f25f10358ed6b1d9e1fc903d8 /tests/auto/declarative/qdeclarativebehaviors/data | |
parent | 8cc8faa6d989b8eb7cd4e78b4a51bbdc3af6ba99 (diff) | |
download | Qt-180e2ce2cca53f2c395e8dc9213d714c396c4555.zip Qt-180e2ce2cca53f2c395e8dc9213d714c396c4555.tar.gz Qt-180e2ce2cca53f2c395e8dc9213d714c396c4555.tar.bz2 |
Don't crash when assigning a Behavior to a grouped property.
Task-number: QTBUG-10799
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'tests/auto/declarative/qdeclarativebehaviors/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativebehaviors/data/groupedPropertyCrash.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativebehaviors/data/groupedPropertyCrash.qml b/tests/auto/declarative/qdeclarativebehaviors/data/groupedPropertyCrash.qml new file mode 100644 index 0000000..c052366 --- /dev/null +++ b/tests/auto/declarative/qdeclarativebehaviors/data/groupedPropertyCrash.qml @@ -0,0 +1,10 @@ +import Qt 4.7 + +Rectangle { + width: 200 + height: 200 + Text { + Behavior on anchors.verticalCenterOffset { NumberAnimation { duration: 300; } } + text: "Hello World" + } +} |