mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Fix potential crash. Closes #5873.
This commit is contained in:
parent
f8dc8ad4ad
commit
aba625d544
@ -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…
x
Reference in New Issue
Block a user