Added the downloading of the mods

This commit is contained in:
timoreo
2022-01-14 12:47:18 +01:00
parent 4d599eb118
commit 9e6fa8f29a
7 changed files with 54 additions and 8 deletions

View File

@ -165,7 +165,7 @@ void ModrinthPage::suggestCurrent()
return;
}
dialog->setSuggestedMod(current.name, new ModDownloadTask(selectedVersion));
dialog->setSuggestedMod(current.name, new ModDownloadTask(selectedVersion, current.versions.at(0).fileName ,dialog->mods));
}
void ModrinthPage::onVersionSelectionChanged(QString data)