mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
parent
9bfb447dd3
commit
88a4990435
1 changed files with 1 additions and 1 deletions
|
@ -2478,7 +2478,7 @@ bool SessionImpl::cancelDownloadMetadata(const TorrentID &id)
|
||||||
// if magnet link was hybrid initially then it is indexed also by v1 info hash
|
// if magnet link was hybrid initially then it is indexed also by v1 info hash
|
||||||
// so we need to remove both entries
|
// so we need to remove both entries
|
||||||
const auto altID = TorrentID::fromSHA1Hash(infoHash.v1());
|
const auto altID = TorrentID::fromSHA1Hash(infoHash.v1());
|
||||||
m_downloadedMetadata.remove((altID == downloadedMetadataIter.key()) ? id : altID);
|
m_downloadedMetadata.remove(altID);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue