mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
Merge pull request #705 from sledgehammer999/peer_tab2
Use new Libtorrent version define.
This commit is contained in:
commit
a77be2f6ce
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ QString PeerListWidget::getFlags(const peer_info& peer)
|
|||
if (peer.flags & peer_info::rc4_encrypted)
|
||||
flags += "E ";
|
||||
|
||||
#if LIBTORRENT_VERSION_MINOR > 15
|
||||
#if LIBTORRENT_VERSION_NUM > 001500
|
||||
//P = Peer is using uTorrent uTP
|
||||
if (peer.connection_type & peer_info::bittorrent_utp)
|
||||
flags += "P ";
|
||||
|
|
Loading…
Reference in a new issue