Harden CacheDownload.

It's now super hard. SRSLY.
This commit is contained in:
Petr Mrázek
2014-01-11 02:06:22 +01:00
parent 8e286c2b5c
commit 43a39a3bfb
3 changed files with 41 additions and 25 deletions

View File

@ -33,6 +33,8 @@ public:
/// the hash-as-you-download
QCryptographicHash md5sum;
bool wroteAnyData = false;
public:
explicit CacheDownload(QUrl url, MetaEntryPtr entry);
static CacheDownloadPtr make(QUrl url, MetaEntryPtr entry)