diff options
-rw-r--r-- | rbutil/rbutilqt/base/httpget.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/base/httpget.cpp b/rbutil/rbutilqt/base/httpget.cpp index 676bc64fee..23249b2765 100644 --- a/rbutil/rbutilqt/base/httpget.cpp +++ b/rbutil/rbutilqt/base/httpget.cpp | |||
@@ -258,12 +258,13 @@ void HttpGet::getFileFinish() | |||
258 | return; | 258 | return; |
259 | } | 259 | } |
260 | else { | 260 | else { |
261 | if(cachefile.isReadable()) | ||
262 | qDebug() << "[HTTP] Cache: outdated, timestamp:" << cachefile.lastModified(); | ||
263 | qDebug() << "[HTTP] Cache: caching as" << m_cachefile; | ||
264 | // unlink old cache file | 261 | // unlink old cache file |
265 | if(cachefile.isReadable()) | 262 | if(cachefile.isReadable()) { |
266 | QFile(m_cachefile).remove(); | 263 | QFile(m_cachefile).remove(); |
264 | qDebug() << "[HTTP] Cache: outdated, timestamp:" | ||
265 | << cachefile.lastModified(); | ||
266 | } | ||
267 | qDebug() << "[HTTP] Cache: caching as" << m_cachefile; | ||
267 | } | 268 | } |
268 | 269 | ||
269 | } | 270 | } |