GH-4185 Include the modpack version in instance title for modpacks.ch

This commit is contained in:
Jamie Mansfield 2021-10-24 00:39:02 +01:00
parent c377ad6025
commit 4b13577a59
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -70,7 +70,7 @@ void AtlPage::suggestCurrent()
return; return;
} }
dialog->setSuggestedPack(selected.name, new ATLauncher::PackInstallTask(this, selected.safeName, selectedVersion)); dialog->setSuggestedPack(selected.name + " " + selectedVersion, new ATLauncher::PackInstallTask(this, selected.safeName, selectedVersion));
auto editedLogoName = selected.safeName; auto editedLogoName = selected.safeName;
auto url = QString(BuildConfig.ATL_DOWNLOAD_SERVER_URL + "launcher/images/%1.png").arg(selected.safeName.toLower()); auto url = QString(BuildConfig.ATL_DOWNLOAD_SERVER_URL + "launcher/images/%1.png").arg(selected.safeName.toLower());
listModel->getLogo(selected.safeName, url, [this, editedLogoName](QString logo) listModel->getLogo(selected.safeName, url, [this, editedLogoName](QString logo)