aboutsummaryrefslogtreecommitdiff
path: root/logic/net/CacheDownload.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2014-01-11 00:22:21 +0000
committerSky <git@bunnies.cc>2014-01-11 00:22:21 +0000
commitc00946c855e868e3146468481bc540160d4d3d3f (patch)
treedcc43b797b35f16b2b436fa031501de62b9e6cac /logic/net/CacheDownload.h
parent088ad07a8098d587aac54a582e1ef70f18ff5d17 (diff)
parent8e286c2b5c432e972df2e94b01481bbe094e464c (diff)
downloadPrismLauncher-c00946c855e868e3146468481bc540160d4d3d3f.tar.gz
PrismLauncher-c00946c855e868e3146468481bc540160d4d3d3f.tar.bz2
PrismLauncher-c00946c855e868e3146468481bc540160d4d3d3f.zip
Merge branch 'develop' of github.com:MultiMC/MultiMC5 into develop
Diffstat (limited to 'logic/net/CacheDownload.h')
-rw-r--r--logic/net/CacheDownload.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/net/CacheDownload.h b/logic/net/CacheDownload.h
index e25aecd2..921e231b 100644
--- a/logic/net/CacheDownload.h
+++ b/logic/net/CacheDownload.h
@@ -17,8 +17,8 @@
#include "NetAction.h"
#include "HttpMetaCache.h"
-#include <QFile>
-#include <qcryptographichash.h>
+#include <QCryptographicHash>
+#include <QSaveFile>
typedef std::shared_ptr<class CacheDownload> CacheDownloadPtr;
class CacheDownload : public NetAction
@@ -29,7 +29,7 @@ public:
/// if saving to file, use the one specified in this string
QString m_target_path;
/// this is the output file, if any
- QFile m_output_file;
+ QSaveFile m_output_file;
/// the hash-as-you-download
QCryptographicHash md5sum;