mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Guard for null pointer
This commit is contained in:
parent
8ba8d69bef
commit
c598bdd290
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue