aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktableview/data/plaintableview.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktableview/data/plaintableview.qml')
-rw-r--r--tests/auto/quick/qquicktableview/data/plaintableview.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktableview/data/plaintableview.qml b/tests/auto/quick/qquicktableview/data/plaintableview.qml
index a073941faa..36c28525d5 100644
--- a/tests/auto/quick/qquicktableview/data/plaintableview.qml
+++ b/tests/auto/quick/qquicktableview/data/plaintableview.qml
@@ -49,6 +49,7 @@ Item {
property real delegateWidth: 100
property real delegateHeight: 50
property Component delegate: tableViewDelegate
+ property bool delegateParentSetBeforeCompleted: false
TableView {
id: tableView
@@ -74,6 +75,10 @@ Item {
anchors.centerIn: parent
text: modelData
}
+
+ Component.onCompleted: {
+ delegateParentSetBeforeCompleted = parent != null;
+ }
}
}