diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-01-08 06:27:18 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-01-08 06:27:18 (GMT) |
commit | 73c106a235f655876313197dbf8dc35ee0e41c4e (patch) | |
tree | c3dee1b1f2e416e0e03a84c5fa079ff6fc19dcd4 | |
parent | 53c9733f774b45b03cf95188e47a1720135f795b (diff) | |
download | Qt-73c106a235f655876313197dbf8dc35ee0e41c4e.zip Qt-73c106a235f655876313197dbf8dc35ee0e41c4e.tar.gz Qt-73c106a235f655876313197dbf8dc35ee0e41c4e.tar.bz2 |
PreferNetwork (the default) is fixed, no need to force PreferCache.
-rw-r--r-- | tools/qmlviewer/qmlviewer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp index 4dee2ee..60208d2 100644 --- a/tools/qmlviewer/qmlviewer.cpp +++ b/tools/qmlviewer/qmlviewer.cpp @@ -298,7 +298,6 @@ public: QNetworkReply *createRequest (Operation op, const QNetworkRequest &req, QIODevice * outgoingData) { QNetworkRequest request = req; - request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferCache); request.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true); return QNetworkAccessManager::createRequest(op,request,outgoingData); } |