remove message box
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
0cafac84ac
commit
9cdda4377b
1 changed files with 1 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue