diff options
author | timoreo <timo.oreo34@gmail.com> | 2022-01-14 12:47:18 +0100 |
---|---|---|
committer | timoreo <timo.oreo34@gmail.com> | 2022-01-14 12:47:18 +0100 |
commit | 9e6fa8f29aa8bc0f609bfcdb6460c6845b73448a (patch) | |
tree | c16b5e4599d8d3db16150b03d68755a5769e4789 /launcher/ui/pages | |
parent | 4d599eb118fb066c6204b29c34d6e1acbc0e8e06 (diff) | |
download | PrismLauncher-9e6fa8f29aa8bc0f609bfcdb6460c6845b73448a.tar.gz PrismLauncher-9e6fa8f29aa8bc0f609bfcdb6460c6845b73448a.tar.bz2 PrismLauncher-9e6fa8f29aa8bc0f609bfcdb6460c6845b73448a.zip |
Added the downloading of the mods
Diffstat (limited to 'launcher/ui/pages')
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp index ea1800d2..b68597ac 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp @@ -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) |