diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qmlapp/qmlapp.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/qmlapp/qmlapp.qml b/examples/qmlapp/qmlapp.qml index 9872c9d..4f7aafe 100644 --- a/examples/qmlapp/qmlapp.qml +++ b/examples/qmlapp/qmlapp.qml @@ -7,10 +7,9 @@ Rectangle { height: 360 WebChannel { id: webChannel - useSecret: false onRequest: { - var data = JSON.parse(requestData); + var data = JSON.parse(requestData ); txt.text = data.a; response.send(JSON.stringify({b:'This is a response from QML'})); } |