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();
|
const ResolvedFile& value = iterator.value();
|
||||||
|
|
||||||
QJsonObject file;
|
QJsonObject file;
|
||||||
QString path = iterator.key();
|
file["path"] = iterator.key();
|
||||||
path.replace(QDir::separator(), "/");
|
|
||||||
file["path"] = path;
|
|
||||||
file["downloads"] = QJsonArray({ iterator.value().url });
|
file["downloads"] = QJsonArray({ iterator.value().url });
|
||||||
|
|
||||||
QJsonObject hashes;
|
QJsonObject hashes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue