diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2009-09-01 07:51:54 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-09-01 08:32:02 (GMT) |
commit | 63e2f5d2c95ece21fd32d0690022b89c38fee865 (patch) | |
tree | 9c9478b65c7d90443032db296c963afd5a9da911 /tests | |
parent | 0e03e0d96c65250cf4b982b4dd2be55f948e65c9 (diff) | |
download | Qt-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')
-rw-r--r-- | tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp | 4 |
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(); } |