summaryrefslogtreecommitdiffstats
path: root/tests/auto/qabstractnetworkcache
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-23 07:42:12 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-09-23 07:42:12 (GMT)
commit3a00b2bc8590e0ac43313681ba690629efdcbeab (patch)
tree34b97416900ed1dba019d694557933d8c1500ea7 /tests/auto/qabstractnetworkcache
parent0873efff5197cb92bce378c67cd744753f809bae (diff)
downloadQt-3a00b2bc8590e0ac43313681ba690629efdcbeab.zip
Qt-3a00b2bc8590e0ac43313681ba690629efdcbeab.tar.gz
Qt-3a00b2bc8590e0ac43313681ba690629efdcbeab.tar.bz2
Removed symbian specific cache location from qabstractnetworkcache test.
This has been just workaround for misbehaving QDesktopServices implementation, and now QDesktopServices::CacheLocation has been fixed for Symbian. Reviewed-by: Aleksandar Sasha Babic
Diffstat (limited to 'tests/auto/qabstractnetworkcache')
-rw-r--r--tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp b/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
index 2377c18..5ef95cd 100644
--- a/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
+++ b/tests/auto/qabstractnetworkcache/tst_qabstractnetworkcache.cpp
@@ -83,12 +83,8 @@ public:
: QNetworkDiskCache(parent)
, gotData(false)
{
-#ifdef Q_OS_SYMBIAN
- QString location = QLatin1String("./cache/");
-#else
QString location = QDesktopServices::storageLocation(QDesktopServices::CacheLocation)
+ QLatin1String("/qnetworkdiskcache/");
-#endif
setCacheDirectory(location);
clear();
}