aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/AssetsUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/AssetsUtils.cpp')
-rw-r--r--launcher/minecraft/AssetsUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/minecraft/AssetsUtils.cpp b/launcher/minecraft/AssetsUtils.cpp
index 4923f0ef..4ef00707 100644
--- a/launcher/minecraft/AssetsUtils.cpp
+++ b/launcher/minecraft/AssetsUtils.cpp
@@ -46,8 +46,8 @@
#include "AssetsUtils.h"
#include "BuildConfig.h"
#include "FileSystem.h"
+#include "net/ApiDownload.h"
#include "net/ChecksumValidator.h"
-#include "net/Download.h"
#include "Application.h"
@@ -279,7 +279,7 @@ NetAction::Ptr AssetObject::getDownloadAction()
{
QFileInfo objectFile(getLocalPath());
if ((!objectFile.isFile()) || (objectFile.size() != size)) {
- auto objectDL = Net::Download::makeFile(getUrl(), objectFile.filePath());
+ auto objectDL = Net::ApiDownload::makeFile(getUrl(), objectFile.filePath());
if (hash.size()) {
auto rawHash = QByteArray::fromHex(hash.toLatin1());
objectDL->addValidator(new Net::ChecksumValidator(QCryptographicHash::Sha1, rawHash));