aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickloader/data/loader-async-race.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickloader/data/loader-async-race.qml')
-rw-r--r--tests/auto/quick/qquickloader/data/loader-async-race.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickloader/data/loader-async-race.qml b/tests/auto/quick/qquickloader/data/loader-async-race.qml
new file mode 100644
index 0000000000..8ba625c5c1
--- /dev/null
+++ b/tests/auto/quick/qquickloader/data/loader-async-race.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.15
+
+Item {
+ id: root
+ Component.onCompleted: {
+ myloader.active = false
+ }
+ Loader {
+ id: myloader
+ anchors.fill: parent
+ asynchronous: true
+ source: "loader-async-race-rect.qml"
+ }
+}