diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-04-06 18:00:32 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-04-06 18:00:32 +0000 |
commit | 5076dca58e40fe0f70620f43ac6e43120038d3cb (patch) | |
tree | 002c5491281a9f63f08ced835ad13a830c3639a2 /rbutil/rbutilqt | |
parent | 2bcc5f782dc9199da7ebfa8f661f673eb6c3de65 (diff) |
Oops: don't report an error during cache initialization if the cache folder already exists.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16992 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/httpget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/httpget.cpp b/rbutil/rbutilqt/httpget.cpp index e3742480ab..768463d1f2 100644 --- a/rbutil/rbutilqt/httpget.cpp +++ b/rbutil/rbutilqt/httpget.cpp @@ -86,6 +86,8 @@ bool HttpGet::initializeCache(const QDir& d) { if(!QFileInfo(p).isDir()) result = d.mkdir("rbutil-cache"); + else + result = true; } else result = false; |