Remove unnecessary code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
94ddc8bbf7
commit
f4a814b5e6
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue