aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-06-12 15:46:15 +0100
committerGitHub <noreply@github.com>2023-06-12 15:46:15 +0100
commitf4a814b5e639641bad40bcea6abaf34f9c253046 (patch)
treeb602fc989ad1924289cabe9073a06bb4a2527d71 /launcher
parent94ddc8bbf7a65f08079c4cf42deb4eea86b1e53b (diff)
downloadPrismLauncher-f4a814b5e639641bad40bcea6abaf34f9c253046.tar.gz
PrismLauncher-f4a814b5e639641bad40bcea6abaf34f9c253046.tar.bz2
PrismLauncher-f4a814b5e639641bad40bcea6abaf34f9c253046.zip
Remove unnecessary code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackExportTask.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
index eff47b37..bff9bf42 100644
--- a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
+++ b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
@@ -301,9 +301,7 @@ QByteArray ModrinthPackExportTask::generateIndex()
const ResolvedFile& value = iterator.value();
QJsonObject file;
- QString path = iterator.key();
- path.replace(QDir::separator(), "/");
- file["path"] = path;
+ file["path"] = iterator.key();
file["downloads"] = QJsonArray({ iterator.value().url });
QJsonObject hashes;