summaryrefslogtreecommitdiffstats
path: root/logic/net/CacheDownload.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-11 02:06:22 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-11 02:06:22 +0100
commit43a39a3bfbffa2997cf8ca5126ee3ac5157f62c8 (patch)
tree80329ac7c07e7c90eddddb35594d33b2c499001c /logic/net/CacheDownload.h
parent8e286c2b5c432e972df2e94b01481bbe094e464c (diff)
downloadMultiMC-43a39a3bfbffa2997cf8ca5126ee3ac5157f62c8.tar
MultiMC-43a39a3bfbffa2997cf8ca5126ee3ac5157f62c8.tar.gz
MultiMC-43a39a3bfbffa2997cf8ca5126ee3ac5157f62c8.tar.lz
MultiMC-43a39a3bfbffa2997cf8ca5126ee3ac5157f62c8.tar.xz
MultiMC-43a39a3bfbffa2997cf8ca5126ee3ac5157f62c8.zip
Harden CacheDownload.
It's now super hard. SRSLY.
Diffstat (limited to 'logic/net/CacheDownload.h')
-rw-r--r--logic/net/CacheDownload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/net/CacheDownload.h b/logic/net/CacheDownload.h
index 921e231b..48be1dae 100644
--- a/logic/net/CacheDownload.h
+++ b/logic/net/CacheDownload.h
@@ -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)