summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativexmllistmodel.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-01-07 00:51:34 (GMT)
committerMartin Jones <martin.jones@nokia.com>2011-01-07 00:51:34 (GMT)
commit5b67b61150771cf978648a35db201345d6fb37ae (patch)
treec8927dd65b3d1edeff76fd21ac0c49b7ace72bf6 /src/declarative/util/qdeclarativexmllistmodel.cpp
parentc527a1ee371c4758776217e7d16c75e20fe6f5aa (diff)
parent9cc21c043238dc7576a465c9d236e8968fd8c549 (diff)
downloadQt-5b67b61150771cf978648a35db201345d6fb37ae.zip
Qt-5b67b61150771cf978648a35db201345d6fb37ae.tar.gz
Qt-5b67b61150771cf978648a35db201345d6fb37ae.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11
Conflicts: src/declarative/graphicsitems/qdeclarativeitem.cpp tests/auto/declarative/qdeclarativexmllistmodel/tst_qdeclarativexmllistmodel.cpp
Diffstat (limited to 'src/declarative/util/qdeclarativexmllistmodel.cpp')
-rw-r--r--src/declarative/util/qdeclarativexmllistmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativexmllistmodel.cpp b/src/declarative/util/qdeclarativexmllistmodel.cpp
index f5c3ad4..9e616de 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)),