mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07: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()
|
void PropertiesWidget::loadUrlSeeds()
|
||||||
{
|
{
|
||||||
|
if (!m_torrent)
|
||||||
|
return;
|
||||||
|
|
||||||
m_ui->listWebSeeds->clear();
|
m_ui->listWebSeeds->clear();
|
||||||
qDebug("Loading URL seeds");
|
qDebug("Loading URL seeds");
|
||||||
const QVector<QUrl> hcSeeds = m_torrent->urlSeeds();
|
const QVector<QUrl> hcSeeds = m_torrent->urlSeeds();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue