summaryrefslogtreecommitdiffstats
path: root/demos/declarative/twitter
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-11-27 09:40:08 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-11-27 09:41:44 (GMT)
commitf9aa040505c5c679bed4181e462fb4d2b9216fa6 (patch)
tree1ebe013d1c3ae06ff0d8c1961b10dfdc82f6b69b /demos/declarative/twitter
parent696b55195f1ad40a077683dbc533c73baf1536ee (diff)
downloadQt-f9aa040505c5c679bed4181e462fb4d2b9216fa6.zip
Qt-f9aa040505c5c679bed4181e462fb4d2b9216fa6.tar.gz
Qt-f9aa040505c5c679bed4181e462fb4d2b9216fa6.tar.bz2
Fix use of XmlHttpRequest in examples
Diffstat (limited to 'demos/declarative/twitter')
-rw-r--r--demos/declarative/twitter/content/HomeTitleBar.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/twitter/content/HomeTitleBar.qml b/demos/declarative/twitter/content/HomeTitleBar.qml
index e5bdb85..c48befd 100644
--- a/demos/declarative/twitter/content/HomeTitleBar.qml
+++ b/demos/declarative/twitter/content/HomeTitleBar.qml
@@ -24,6 +24,7 @@ Item {
titleBar.update();
}
}
+ postman.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
postman.send(postData);
editor.text = ""