summaryrefslogtreecommitdiffstats
path: root/tests/auto/qabstractnetworkcache
diff options
context:
space:
mode:
authorBenjamin C Meyer <ben@meyerhome.net>2009-09-01 07:51:54 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-09-01 08:32:02 (GMT)
commit63e2f5d2c95ece21fd32d0690022b89c38fee865 (patch)
tree9c9478b65c7d90443032db296c963afd5a9da911 /tests/auto/qabstractnetworkcache
parent0e03e0d96c65250cf4b982b4dd2be55f948e65c9 (diff)
downloadQt-63e2f5d2c95ece21fd32d0690022b89c38fee865.zip
Qt-63e2f5d2c95ece21fd32d0690022b89c38fee865.tar.gz
Qt-63e2f5d2c95ece21fd32d0690022b89c38fee865.tar.bz2
Use the QDesktopServices::CacheLocation to determine the location to store the temporary cache rather than QDesktopServices::DataLocation
Merge-request: 1124 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'tests/auto/qabstractnetworkcache')
-rw-r--r--tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp b/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
index 92610db..e338075 100644
--- a/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
+++ b/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
@@ -81,8 +81,8 @@ public:
: QNetworkDiskCache(parent)
, gotData(false)
{
- QString location = QDesktopServices::storageLocation(QDesktopServices::DataLocation)
- + QLatin1String("/cache/");
+ QString location = QDesktopServices::storageLocation(QDesktopServices::CacheLocation)
+ + QLatin1String("/qnetworkdiskcache/");
setCacheDirectory(location);
clear();
}