mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Make various minor changes
This commit is contained in:
parent
89dce36e98
commit
ce437817de
4 changed files with 4 additions and 4 deletions
|
@ -134,7 +134,7 @@ namespace
|
|||
QVariantList getStickyTrackers(const BitTorrent::TorrentHandle *const torrent)
|
||||
{
|
||||
uint seedsDHT = 0, seedsPeX = 0, seedsLSD = 0, leechesDHT = 0, leechesPeX = 0, leechesLSD = 0;
|
||||
for (const BitTorrent::PeerInfo &peer : torrent->peers()) {
|
||||
for (const BitTorrent::PeerInfo &peer : asConst(torrent->peers())) {
|
||||
if (peer.isConnecting()) continue;
|
||||
|
||||
if (peer.isSeed()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue