aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/AssetsUtils.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-04 20:31:43 +0200
committerGitHub <noreply@github.com>2023-08-04 20:31:43 +0200
commit304e294ea701e595b21c0a8a8236ca53828f2b3b (patch)
tree66770810d344120899cf8ba07f279bac784f4877 /launcher/minecraft/AssetsUtils.cpp
parent50c7d39e082f0a7dbd977401e16d5adf534d9770 (diff)
parentf19e8dd086cd046c694a4a9a02d83827b08952b0 (diff)
downloadPrismLauncher-304e294ea701e595b21c0a8a8236ca53828f2b3b.tar.gz
PrismLauncher-304e294ea701e595b21c0a8a8236ca53828f2b3b.tar.bz2
PrismLauncher-304e294ea701e595b21c0a8a8236ca53828f2b3b.zip
Merge pull request #1102 from Ryex/refactor/net-split-headers-to-proxy-class
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 16fdfdb1..65ad6da6 100644
--- a/launcher/minecraft/AssetsUtils.cpp
+++ b/launcher/minecraft/AssetsUtils.cpp
@@ -45,7 +45,7 @@
#include "AssetsUtils.h"
#include "FileSystem.h"
-#include "net/Download.h"
+#include "net/ApiDownload.h"
#include "net/ChecksumValidator.h"
#include "BuildConfig.h"
@@ -311,7 +311,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());