mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Add "Tracker entries" dialog
This commit is contained in:
parent
91742d4a53
commit
9e7f50517e
9 changed files with 277 additions and 1 deletions
|
@ -154,5 +154,11 @@ const lt::announce_entry &TrackerEntry::nativeEntry() const
|
|||
|
||||
bool BitTorrent::operator==(const TrackerEntry &left, const TrackerEntry &right)
|
||||
{
|
||||
return (QUrl(left.url()) == QUrl(right.url()));
|
||||
return ((left.tier() == right.tier())
|
||||
&& QUrl(left.url()) == QUrl(right.url()));
|
||||
}
|
||||
|
||||
uint BitTorrent::qHash(const TrackerEntry &key, const uint seed)
|
||||
{
|
||||
return (::qHash(key.url(), seed) ^ key.tier());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue