summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlfontloader.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-11 01:49:48 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-11 01:49:48 (GMT)
commitba6816d194423d220ba34a5e0b57aa5b97af942c (patch)
treead60967a657978339e31b6e7447303bad894008b /src/declarative/util/qmlfontloader.cpp
parent71c73f80050fda96111122cc75676df60b51b0f5 (diff)
downloadQt-ba6816d194423d220ba34a5e0b57aa5b97af942c.zip
Qt-ba6816d194423d220ba34a5e0b57aa5b97af942c.tar.gz
Qt-ba6816d194423d220ba34a5e0b57aa5b97af942c.tar.bz2
Move choice of pipelining to the point request.
(based on advice from Thiago)
Diffstat (limited to 'src/declarative/util/qmlfontloader.cpp')
-rw-r--r--src/declarative/util/qmlfontloader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qmlfontloader.cpp b/src/declarative/util/qmlfontloader.cpp
index 8230b1a..42b34b5 100644
--- a/src/declarative/util/qmlfontloader.cpp
+++ b/src/declarative/util/qmlfontloader.cpp
@@ -134,6 +134,7 @@ void QmlFontLoader::setSource(const QUrl &url)
#endif
{
QNetworkRequest req(d->url);
+ req.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true);
d->reply = qmlEngine(this)->networkAccessManager()->get(req);
QObject::connect(d->reply, SIGNAL(finished()), this, SLOT(replyFinished()));
}