diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-01-11 01:49:48 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-01-11 01:49:48 (GMT) |
commit | ba6816d194423d220ba34a5e0b57aa5b97af942c (patch) | |
tree | ad60967a657978339e31b6e7447303bad894008b /src/declarative/util/qmlfontloader.cpp | |
parent | 71c73f80050fda96111122cc75676df60b51b0f5 (diff) | |
download | Qt-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.cpp | 1 |
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())); } |