summaryrefslogtreecommitdiff
path: root/tests/auto/qml/data/wrapper.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/data/wrapper.html')
-rw-r--r--tests/auto/qml/data/wrapper.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/data/wrapper.html b/tests/auto/qml/data/wrapper.html
index a556486..df368ee 100644
--- a/tests/auto/qml/data/wrapper.html
+++ b/tests/auto/qml/data/wrapper.html
@@ -6,7 +6,7 @@
//BEGIN SETUP
createWebChannel(function(channel) {
myFactory.create("testObj", function(obj) {
- window[obj.objectName()] = obj;
+ window[obj.objectName] = obj;
obj.mySignal.connect(function(arg1, arg2) {
channel.exec({label: "signalReceived", args: [arg1, arg2]});
});