aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlpixmapcache/data/dataLeak.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlpixmapcache/data/dataLeak.qml')
-rw-r--r--tests/auto/qml/qqmlpixmapcache/data/dataLeak.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlpixmapcache/data/dataLeak.qml b/tests/auto/qml/qqmlpixmapcache/data/dataLeak.qml
new file mode 100644
index 0000000000..724ce5d816
--- /dev/null
+++ b/tests/auto/qml/qqmlpixmapcache/data/dataLeak.qml
@@ -0,0 +1,18 @@
+import QtQuick 2.0
+
+Item {
+ id: root
+ width: 800
+ height: 800
+
+ Image {
+ id: i1
+ source: "exists1.png";
+ anchors.top: parent.top;
+ }
+ Image {
+ id: i2
+ source: "exists2.png"
+ anchors.top: i1.bottom;
+ }
+}