mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
- Fix bugs with new feature: "Add trackers from duplicate torrent"
This commit is contained in:
parent
81c6958428
commit
9d2f2230ee
@ -994,10 +994,10 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!found) {
|
if(found) {
|
||||||
trackers_added = true;
|
trackers_added = true;
|
||||||
announce_entry entry(tracker_url);
|
announce_entry entry(tracker_url);
|
||||||
h.add_tracker(entry);
|
h_ex.add_tracker(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(trackers_added) {
|
if(trackers_added) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user