diff options
author | dada513 <dada513@protonmail.com> | 2021-12-31 18:05:40 +0100 |
---|---|---|
committer | dada513 <dada513@protonmail.com> | 2021-12-31 18:05:40 +0100 |
commit | fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3 (patch) | |
tree | 5a300af57c0207d38980319d54dc04218828aa1e /launcher/minecraft/AssetsUtils.cpp | |
parent | 0c177b1086d69993e012ba1fbed1adf6bfe04144 (diff) | |
parent | 9579231ccc36d9d32f4d5571ced91e8fe7851643 (diff) | |
download | PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.tar.gz PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.tar.bz2 PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.zip |
Merge remote-tracking branch 'upstream/develop' into upstream_update
Diffstat (limited to 'launcher/minecraft/AssetsUtils.cpp')
-rw-r--r-- | launcher/minecraft/AssetsUtils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/launcher/minecraft/AssetsUtils.cpp b/launcher/minecraft/AssetsUtils.cpp index 1c65a212..7290aeb4 100644 --- a/launcher/minecraft/AssetsUtils.cpp +++ b/launcher/minecraft/AssetsUtils.cpp @@ -29,6 +29,8 @@ #include "net/ChecksumValidator.h" #include "BuildConfig.h" +#include "Application.h" + namespace { QSet<QString> collectPathsFromDir(QString dirPath) { @@ -318,7 +320,7 @@ QString AssetObject::getRelPath() NetJob::Ptr AssetsIndex::getDownloadJob() { - auto job = new NetJob(QObject::tr("Assets for %1").arg(id)); + auto job = new NetJob(QObject::tr("Assets for %1").arg(id), APPLICATION->network()); for (auto &object : objects.values()) { auto dl = object.getDownloadAction(); |