mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Guard for null pointer
This commit is contained in:
@@ -551,6 +551,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();
|
||||
|
||||
Reference in New Issue
Block a user