mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
remove message box
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -364,11 +364,7 @@ void ResourcePage::onResourceSelected()
|
|||||||
|
|
||||||
auto& version = current_pack->versions[m_selectedVersionIndex];
|
auto& version = current_pack->versions[m_selectedVersionIndex];
|
||||||
if (version.downloadUrl.isNull()) {
|
if (version.downloadUrl.isNull()) {
|
||||||
CustomMessageBox::selectable(
|
qCritical() << tr("It looks like the resource you selected doesn't have a download link, so Prism won't attempt to download it.");
|
||||||
this, tr("Download Link Missing"),
|
|
||||||
tr("It looks like the resource you selected doesn't have a download link, so Prism won't attempt to download it."),
|
|
||||||
QMessageBox::Warning)
|
|
||||||
->show();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (version.is_currently_selected)
|
if (version.is_currently_selected)
|
||||||
|
Reference in New Issue
Block a user