mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-04 08:34:30 +02:00
add qassert
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
9cdda4377b
commit
94f65f8727
@ -363,10 +363,7 @@ void ResourcePage::onResourceSelected()
|
||||
return;
|
||||
|
||||
auto& version = current_pack->versions[m_selectedVersionIndex];
|
||||
if (version.downloadUrl.isNull()) {
|
||||
qCritical() << tr("It looks like the resource you selected doesn't have a download link, so Prism won't attempt to download it.");
|
||||
return;
|
||||
}
|
||||
Q_ASSERT(!version.downloadUrl.isNull());
|
||||
if (version.is_currently_selected)
|
||||
removeResourceFromDialog(current_pack->name);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user