mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
Use new Libtorrent version define.
This commit is contained in:
parent
f4e5d7bc11
commit
1ad9d9b4e0
@ -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…
x
Reference in New Issue
Block a user