diff options
| author | Antoine Cellerier <dionoea@videolan.org> | 2007-09-14 21:55:54 +0000 |
|---|---|---|
| committer | Antoine Cellerier <dionoea@videolan.org> | 2007-09-14 21:55:54 +0000 |
| commit | b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612 (patch) | |
| tree | 56a787d1fdca4e60112a047f5f6b8118d253e853 | |
| parent | 7d8aa2e96cc08949612296e1aead792f1c3136ae (diff) | |
| download | rockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.zip rockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.tar.gz rockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.tar.bz2 rockbox-b8f1e746bdd28bcc48b0a8f6b63cea4a1c934612.tar.xz | |
Fix http caching.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14701 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | rbutil/rbutilqt/httpget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/httpget.cpp b/rbutil/rbutilqt/httpget.cpp index 7680cb2..fa33b46 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; } |