aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtQml/bug_997.qml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtQml/bug_997.qml')
-rw-r--r--sources/pyside6/tests/QtQml/bug_997.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtQml/bug_997.qml b/sources/pyside6/tests/QtQml/bug_997.qml
new file mode 100644
index 000000000..23188f31f
--- /dev/null
+++ b/sources/pyside6/tests/QtQml/bug_997.qml
@@ -0,0 +1,13 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+import QtQuick 2.0
+
+Text {
+ required property var owner
+ text: owner.name + " " + owner.phone
+ Component.onCompleted: {
+ owner.newName = owner.name
+ Qt.quit()
+ }
+}