Guard for null pointer

This commit is contained in:
Chocobo1 2021-09-11 11:50:29 +08:00
parent 8ba8d69bef
commit c598bdd290

View file

@ -519,6 +519,9 @@ void PropertiesWidget::loadDynamicData()
void PropertiesWidget::loadUrlSeeds()
{
if (!m_torrent)
return;
m_ui->listWebSeeds->clear();
qDebug("Loading URL seeds");
const QVector<QUrl> hcSeeds = m_torrent->urlSeeds();