Browse Source

- Fix bugs with new feature: "Add trackers from duplicate torrent"

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
9d2f2230ee
  1. 4
      src/bittorrent.cpp

4
src/bittorrent.cpp

@ -994,10 +994,10 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr @@ -994,10 +994,10 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr
break;
}
}
if(!found) {
if(found) {
trackers_added = true;
announce_entry entry(tracker_url);
h.add_tracker(entry);
h_ex.add_tracker(entry);
}
}
if(trackers_added) {

Loading…
Cancel
Save