summaryrefslogtreecommitdiffstats
path: root/tests/auto/qabstractnetworkcache
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2011-02-21 13:13:01 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-02-21 13:13:01 (GMT)
commit9dd254f668392f2402f9f3b342f01b6620e11158 (patch)
tree167a2a337a106e0b5fe4cbe71cfca4d8892eae16 /tests/auto/qabstractnetworkcache
parentf559a0fb5f545057256305e47082927621aead0f (diff)
downloadQt-9dd254f668392f2402f9f3b342f01b6620e11158.zip
Qt-9dd254f668392f2402f9f3b342f01b6620e11158.tar.gz
Qt-9dd254f668392f2402f9f3b342f01b6620e11158.tar.bz2
QNAM HTTP: Define SynchronousRequestAttribute instead of enum hack
Reviewed-by: Peter Hartmann
Diffstat (limited to 'tests/auto/qabstractnetworkcache')
-rw-r--r--tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp b/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
index 6331db7..db0d0a7 100644
--- a/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
+++ b/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
@@ -331,7 +331,7 @@ void tst_QAbstractNetworkCache::checkSynchronous()
QNetworkRequest request(realUrl);
request.setAttribute(
- static_cast<QNetworkRequest::Attribute>(QNetworkRequest::DownloadBufferAttribute + 1),
+ QNetworkRequest::SynchronousRequestAttribute,
true);
// prime the cache