diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-05 19:00:12 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-05 19:00:12 +0300 |
commit | 377fc0352a5b573403d5be0731beb84a77951cf6 (patch) | |
tree | 5f85e1d67aefbb859357bd86b1c4f375f5bc3435 /launcher/minecraft/Library.cpp | |
parent | c3eb17db74097c49ab3892a53857dfa24937833b (diff) | |
parent | 304e294ea701e595b21c0a8a8236ca53828f2b3b (diff) | |
download | PrismLauncher-377fc0352a5b573403d5be0731beb84a77951cf6.tar.gz PrismLauncher-377fc0352a5b573403d5be0731beb84a77951cf6.tar.bz2 PrismLauncher-377fc0352a5b573403d5be0731beb84a77951cf6.zip |
Merge branch 'staging' of https://github.com/PrismLauncher/PrismLauncher into icons
Diffstat (limited to 'launcher/minecraft/Library.cpp')
-rw-r--r-- | launcher/minecraft/Library.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/minecraft/Library.cpp b/launcher/minecraft/Library.cpp index cb2b5254..e0318ef2 100644 --- a/launcher/minecraft/Library.cpp +++ b/launcher/minecraft/Library.cpp @@ -36,7 +36,7 @@ #include "Library.h" #include "MinecraftInstance.h" -#include <net/Download.h> +#include <net/ApiDownload.h> #include <net/ChecksumValidator.h> #include <FileSystem.h> #include <BuildConfig.h> @@ -129,14 +129,14 @@ QList<NetAction::Ptr> Library::getDownloads( if(sha1.size()) { auto rawSha1 = QByteArray::fromHex(sha1.toLatin1()); - auto dl = Net::Download::makeCached(url, entry, options); + auto dl = Net::ApiDownload::makeCached(url, entry, options); dl->addValidator(new Net::ChecksumValidator(QCryptographicHash::Sha1, rawSha1)); qDebug() << "Checksummed Download for:" << rawName().serialize() << "storage:" << storage << "url:" << url; out.append(dl); } else { - out.append(Net::Download::makeCached(url, entry, options)); + out.append(Net::ApiDownload::makeCached(url, entry, options)); qDebug() << "Download for:" << rawName().serialize() << "storage:" << storage << "url:" << url; } return true; |