summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-09-14 21:55:54 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-09-14 21:55:54 +0000
commitb8f1e746bdd28bcc48b0a8f6b63cea4a1c934612 (patch)
tree56a787d1fdca4e60112a047f5f6b8118d253e853 /rbutil
parent7d8aa2e96cc08949612296e1aead792f1c3136ae (diff)
downloadrockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.tar.gz
rockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.tar.bz2
rockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.zip
Fix http caching.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14701 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/httpget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/httpget.cpp b/rbutil/rbutilqt/httpget.cpp
index 7680cb2d53..fa33b4685a 100644
--- a/rbutil/rbutilqt/httpget.cpp
+++ b/rbutil/rbutilqt/httpget.cpp
@@ -49,13 +49,13 @@ void HttpGet::setCache(QDir d)
m_cachedir = d;
bool result = true;
- QString p = m_cachedir.absolutePath() + "/rbutil-cache";
+ QString p = m_cachedir.absolutePath() + "rbutil-cache";
if(QFileInfo(m_cachedir.absolutePath()).isDir())
if(!QFileInfo(p).isDir())
result = m_cachedir.mkdir("rbutil-cache");
else result = false;
qDebug() << "HttpGet::setCache(QDir)" << result;
- m_usecache = !result;
+ m_usecache = result;
}