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
This commit is contained in:
Dominik Riebeling 2008-04-06 18:00:32 +00:00
parent 2bcc5f782d
commit 5076dca58e

View file

@ -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;