mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Replace QList by QVector
This commit is contained in:
@@ -490,7 +490,8 @@ void SyncController::torrentPeersAction()
|
||||
|
||||
QVariantMap data;
|
||||
QVariantHash peers;
|
||||
const QList<BitTorrent::PeerInfo> peersList = torrent->peers();
|
||||
|
||||
const QVector<BitTorrent::PeerInfo> peersList = torrent->peers();
|
||||
|
||||
#ifndef DISABLE_COUNTRIES_RESOLUTION
|
||||
bool resolvePeerCountries = Preferences::instance()->resolvePeerCountries();
|
||||
|
||||
@@ -145,7 +145,7 @@ private:
|
||||
|
||||
bool m_isLocalAuthEnabled;
|
||||
bool m_isAuthSubnetWhitelistEnabled;
|
||||
QList<Utils::Net::Subnet> m_authSubnetWhitelist;
|
||||
QVector<Utils::Net::Subnet> m_authSubnetWhitelist;
|
||||
int m_sessionTimeout;
|
||||
|
||||
// security related
|
||||
|
||||
Reference in New Issue
Block a user