summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeitem/data
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-09-28 03:55:04 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-09-28 22:43:21 (GMT)
commit085a121cb1ebba38d62c924500dbc71806b29b3c (patch)
tree90702eb46ef0f2c12919860c4492675843c37671 /tests/auto/declarative/qdeclarativeitem/data
parent2784fe7be27afd80f6da69a683ed7aec91734de8 (diff)
downloadQt-085a121cb1ebba38d62c924500dbc71806b29b3c.zip
Qt-085a121cb1ebba38d62c924500dbc71806b29b3c.tar.gz
Qt-085a121cb1ebba38d62c924500dbc71806b29b3c.tar.bz2
Fix crash when trying to append a null transform to QDeclarativeItem.
Task-number: QTBUG-13893
Diffstat (limited to 'tests/auto/declarative/qdeclarativeitem/data')
-rw-r--r--tests/auto/declarative/qdeclarativeitem/data/transformCrash.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeitem/data/transformCrash.qml b/tests/auto/declarative/qdeclarativeitem/data/transformCrash.qml
new file mode 100644
index 0000000..ab7fa84
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeitem/data/transformCrash.qml
@@ -0,0 +1,13 @@
+import Qt 4.7
+
+Item {
+ id: wrapper
+ width: 200
+ height: 200
+
+ QtObject {
+ id: object
+ }
+
+ Component.onCompleted: wrapper.transform = object
+}