diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-23 16:07:33 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-12-23 16:07:33 (GMT) |
commit | 96db1156a64114b1874683863c9e51881f2a35ad (patch) | |
tree | 803b8bc815bc0695b26f00404c69479c2cf60bfb /src/declarative/util/qdeclarativexmllistmodel.cpp | |
parent | e2ff3adad12ad10363a19d2c49d0ed3bdfe20d68 (diff) | |
parent | af5cda49d5b6fa22e1cb1567ac874787e31a87c2 (diff) | |
download | Qt-96db1156a64114b1874683863c9e51881f2a35ad.zip Qt-96db1156a64114b1874683863c9e51881f2a35ad.tar.gz Qt-96db1156a64114b1874683863c9e51881f2a35ad.tar.bz2 |
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'src/declarative/util/qdeclarativexmllistmodel.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativexmllistmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativexmllistmodel.cpp b/src/declarative/util/qdeclarativexmllistmodel.cpp index 715aaef..8f32716 100644 --- a/src/declarative/util/qdeclarativexmllistmodel.cpp +++ b/src/declarative/util/qdeclarativexmllistmodel.cpp @@ -924,6 +924,7 @@ void QDeclarativeXmlListModel::reload() } else { d->notifyQueryStarted(true); QNetworkRequest req(d->src); + req.setRawHeader("Accept", "application/xml"); d->reply = qmlContext(this)->engine()->networkAccessManager()->get(req); QObject::connect(d->reply, SIGNAL(finished()), this, SLOT(requestFinished())); QObject::connect(d->reply, SIGNAL(downloadProgress(qint64,qint64)), |