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/qmlpixmapcache.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/qmlpixmapcache.cpp')
-rw-r--r-- | src/declarative/util/qmlpixmapcache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qmlpixmapcache.cpp b/src/declarative/util/qmlpixmapcache.cpp index 3307ff8..6f36cad 100644 --- a/src/declarative/util/qmlpixmapcache.cpp +++ b/src/declarative/util/qmlpixmapcache.cpp @@ -404,6 +404,7 @@ QmlPixmapReply *QmlPixmapCache::request(QmlEngine *engine, const QUrl &url) QmlPixmapReplyHash::Iterator iter = qmlActivePixmapReplies.find(key); if (iter == qmlActivePixmapReplies.end()) { QNetworkRequest req(url); + req.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true); QmlPixmapReply *item = new QmlPixmapReply(key, engine->networkAccessManager()->get(req)); iter = qmlActivePixmapReplies.insert(key, item); } else { |