diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-24 15:58:55 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-06-24 15:58:55 +0300 |
commit | 7fdd68d7682ea32404c07337b610365bcf4c7083 (patch) | |
tree | 57355c6ba2fadb6673c34aee64c573435e91326e /launcher/modplatform/modrinth | |
parent | 69c709b05a90f342cc9d1f9337457bb5519a87a9 (diff) | |
parent | df6d46de9e648284a788a327b87698d58a4fc145 (diff) | |
download | PrismLauncher-7fdd68d7682ea32404c07337b610365bcf4c7083.tar.gz PrismLauncher-7fdd68d7682ea32404c07337b610365bcf4c7083.tar.bz2 PrismLauncher-7fdd68d7682ea32404c07337b610365bcf4c7083.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthPackExportTask.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp index c607bb89..4cd88aa6 100644 --- a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp +++ b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp @@ -134,8 +134,8 @@ void ModrinthPackExportTask::collectHashes() QCryptographicHash sha1(QCryptographicHash::Algorithm::Sha1); sha1.addData(data); - ResolvedFile file{ sha1.result().toHex(), sha512.result().toHex(), url.toString(), openFile.size() }; - resolvedFiles[relative] = file; + ResolvedFile resolvedFile{ sha1.result().toHex(), sha512.result().toHex(), url.toEncoded(), openFile.size() }; + resolvedFiles[relative] = resolvedFile; // nice! we've managed to resolve based on local metadata! // no need to enqueue it |