From 5076dca58e40fe0f70620f43ac6e43120038d3cb Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 6 Apr 2008 18:00:32 +0000 Subject: [PATCH] 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 --- rbutil/rbutilqt/httpget.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;