aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickwindow/data/ownershipRootItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickwindow/data/ownershipRootItem.qml')
-rw-r--r--tests/auto/quick/qquickwindow/data/ownershipRootItem.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickwindow/data/ownershipRootItem.qml b/tests/auto/quick/qquickwindow/data/ownershipRootItem.qml
new file mode 100644
index 0000000000..dfc4159f4e
--- /dev/null
+++ b/tests/auto/quick/qquickwindow/data/ownershipRootItem.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+import QtQuick.Window 2.0 as Window
+
+Window.Window {
+RootItemAccessor {
+ id:accessor
+ objectName:"accessor"
+ Component.onCompleted:accessor.rootItem();
+}
+
+} \ No newline at end of file