mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 18:26:11 +03:00
Fix potential crash. Closes #5873.
This commit is contained in:
parent
f8dc8ad4ad
commit
aba625d544
1 changed files with 2 additions and 1 deletions
|
@ -544,7 +544,8 @@ void TrackerFiltersList::removeItem(const QString &tracker, const QString &hash)
|
|||
updateGeometry();
|
||||
return;
|
||||
}
|
||||
trackerItem->setText(tr("%1 (%2)", "openbittorrent.com (10)").arg(host).arg(tmp.size()));
|
||||
if (trackerItem != nullptr)
|
||||
trackerItem->setText(tr("%1 (%2)", "openbittorrent.com (10)").arg(host).arg(tmp.size()));
|
||||
}
|
||||
else {
|
||||
row = 1;
|
||||
|
|
Loading…
Reference in a new issue