Browse Source

Use new Libtorrent version define.

adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
1ad9d9b4e0
  1. 2
      src/properties/peerlistwidget.cpp

2
src/properties/peerlistwidget.cpp

@ -486,7 +486,7 @@ QString PeerListWidget::getFlags(const peer_info& peer)
if (peer.flags & peer_info::rc4_encrypted) if (peer.flags & peer_info::rc4_encrypted)
flags += "E "; flags += "E ";
#if LIBTORRENT_VERSION_MINOR > 15 #if LIBTORRENT_VERSION_NUM > 001500
//P = Peer is using uTorrent uTP //P = Peer is using uTorrent uTP
if (peer.connection_type & peer_info::bittorrent_utp) if (peer.connection_type & peer_info::bittorrent_utp)
flags += "P "; flags += "P ";

Loading…
Cancel
Save