mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
This commit is contained in:
parent
2f19594bef
commit
2ea1716c1a
@ -482,7 +482,6 @@ void TrackerFiltersList::addItem(const QString &tracker, const QString &hash)
|
|||||||
|
|
||||||
if (host != "") {
|
if (host != "") {
|
||||||
trackerItem = item(rowFromTracker(host));
|
trackerItem = item(rowFromTracker(host));
|
||||||
if (!trackerItem) return;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
trackerItem = item(1);
|
trackerItem = item(1);
|
||||||
@ -494,6 +493,7 @@ void TrackerFiltersList::addItem(const QString &tracker, const QString &hash)
|
|||||||
|
|
||||||
downloadFavicon(QString("http://%1/favicon.ico").arg(host));
|
downloadFavicon(QString("http://%1/favicon.ico").arg(host));
|
||||||
}
|
}
|
||||||
|
if (!trackerItem) return;
|
||||||
|
|
||||||
tmp.append(hash);
|
tmp.append(hash);
|
||||||
m_trackers.insert(host, tmp);
|
m_trackers.insert(host, tmp);
|
||||||
|
Loading…
Reference in New Issue
Block a user