diff options
Diffstat (limited to 'tests/auto/quick/qquickloader/data/sourceComponentGarbageCollection.qml')
-rw-r--r-- | tests/auto/quick/qquickloader/data/sourceComponentGarbageCollection.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickloader/data/sourceComponentGarbageCollection.qml b/tests/auto/quick/qquickloader/data/sourceComponentGarbageCollection.qml new file mode 100644 index 0000000000..ab86883af5 --- /dev/null +++ b/tests/auto/quick/qquickloader/data/sourceComponentGarbageCollection.qml @@ -0,0 +1,8 @@ +import QtQuick 2.0 + +Loader { + active: false + function setSourceComponent() { + sourceComponent = Qt.createComponent("SimpleTestComponent.qml"); + } +} |