diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-06-24 10:51:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 10:51:14 +0200 |
commit | df6d46de9e648284a788a327b87698d58a4fc145 (patch) | |
tree | 8b1a9dcc5ab37e0e70f8380a2bb61d448d7904fd | |
parent | 4322222acc354d2eb41492c0acabbe80999f7b1f (diff) | |
parent | 20ba6e5fb50177d5145459951a69edc7b3302e95 (diff) | |
download | PrismLauncher-df6d46de9e648284a788a327b87698d58a4fc145.tar.gz PrismLauncher-df6d46de9e648284a788a327b87698d58a4fc145.tar.bz2 PrismLauncher-df6d46de9e648284a788a327b87698d58a4fc145.zip |
Merge pull request #1261 from telans/modrinthexport-url
-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 |