aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlnotifier/data
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2019-10-04 10:37:42 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2019-10-07 07:51:39 +0200
commitea0ef32915cd36aee3d6b2eeaa76b14035432c21 (patch)
tree514851cf563067885e2113a52e12a3f74e7d0eef /tests/auto/qml/qqmlnotifier/data
parent52d93254e7f4be4213fac6f689106e14a7b98bd5 (diff)
tst_qqmlnotifier: avoid setContextProperty
Change-Id: I3efdda2acb8d2704df0e1833ef6924664f26e255 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlnotifier/data')
-rw-r--r--tests/auto/qml/qqmlnotifier/data/connectnotify.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlnotifier/data/connectnotify.qml b/tests/auto/qml/qqmlnotifier/data/connectnotify.qml
index 35226ee5ab..34e70e6afe 100644
--- a/tests/auto/qml/qqmlnotifier/data/connectnotify.qml
+++ b/tests/auto/qml/qqmlnotifier/data/connectnotify.qml
@@ -3,6 +3,7 @@ import Test 1.0
Item {
id: root
+ required property ExportedClass exportedObject
ExportedClass {
id: exportedClass
objectName: "exportedClass"
@@ -22,7 +23,7 @@ Item {
}
property int foo: exportedClass.qmlObjectProp
- property int baz: _exportedObject.cppObjectProp
+ property int baz: exportedObject.cppObjectProp
// v4 bindings that could share a subscription. They don't, though, and the code
// relies on that