summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeloader/data
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-24 02:42:04 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-24 03:30:50 (GMT)
commit364f6c200a6faac825c7f1e0158d708fc60a8ff5 (patch)
treea6c0d7632e2d06b65b5b211249b2990d1e3dd37c /tests/auto/declarative/qdeclarativeloader/data
parent30275dfcb8c5303de201bc32fba2a6b9b26fa1cd (diff)
downloadQt-364f6c200a6faac825c7f1e0158d708fc60a8ff5.zip
Qt-364f6c200a6faac825c7f1e0158d708fc60a8ff5.tar.gz
Qt-364f6c200a6faac825c7f1e0158d708fc60a8ff5.tar.bz2
Fix Loader leak when loading a non-QGraphicsObject object.
Diffstat (limited to 'tests/auto/declarative/qdeclarativeloader/data')
-rw-r--r--tests/auto/declarative/qdeclarativeloader/data/nonItem.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativeloader/data/nonItem.qml b/tests/auto/declarative/qdeclarativeloader/data/nonItem.qml
new file mode 100644
index 0000000..f42c1d5
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativeloader/data/nonItem.qml
@@ -0,0 +1,5 @@
+import Qt 4.6
+
+Loader {
+ sourceComponent: QtObject {}
+}