Make various minor changes

This commit is contained in:
thalieht 2019-02-22 03:59:31 +02:00
parent 89dce36e98
commit ce437817de
4 changed files with 4 additions and 4 deletions

View file

@ -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()) {