remove message box
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com> (cherry picked from commit 9cdda4377b0090a035e286a86fd78f126f995356)
This commit is contained in:
parent
c3cf5d31da
commit
db32b2ad99
@ -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…
Reference in New Issue
Block a user