aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackExportTask.cpp')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackExportTask.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
index fc16f912..ed50fd20 100644
--- a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
+++ b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
@@ -122,10 +122,6 @@ void ModrinthPackExportTask::collectHashes()
if (!url.isEmpty() && BuildConfig.MODRINTH_MRPACK_HOSTS.contains(url.host())) {
qDebug() << "Resolving" << relative << "from index";
- // we've already read it
- // let's go back!
- openFile.seek(openFile.size());
-
QCryptographicHash hash2(QCryptographicHash::Algorithm::Sha1);
hash2.addData(data);
@@ -307,4 +303,4 @@ QByteArray ModrinthPackExportTask::generateIndex()
obj["files"] = files;
return QJsonDocument(obj).toJson(QJsonDocument::Compact);
-} \ No newline at end of file
+}