mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-09 14:27:56 +00:00
- Force trackers reannounce after loading them from HD
This commit is contained in:
parent
54bf7e61f7
commit
9172985173
@ -1064,6 +1064,7 @@ bool bittorrent::loadTrackerFile(QString hash) {
|
|||||||
if(trackers.size() != 0) {
|
if(trackers.size() != 0) {
|
||||||
QTorrentHandle h = getTorrentHandle(hash);
|
QTorrentHandle h = getTorrentHandle(hash);
|
||||||
h.replace_trackers(trackers);
|
h.replace_trackers(trackers);
|
||||||
|
h.force_reannounce();
|
||||||
return true;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user