mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Revert "Fix compilation with libtorrent 0.15.x"
This reverts commit 7ccefae3f8
.
This commit is contained in:
parent
7ccefae3f8
commit
bd1a34bebe
1 changed files with 0 additions and 2 deletions
|
@ -441,7 +441,6 @@ void PeerListWidget::handleSortColumnChanged(int col)
|
||||||
|
|
||||||
QString PeerListWidget::getConnectionString(const peer_info& peer)
|
QString PeerListWidget::getConnectionString(const peer_info& peer)
|
||||||
{
|
{
|
||||||
#if LIBTORRENT_VERSION_NUM >= 1600
|
|
||||||
#if LIBTORRENT_VERSION_NUM < 10000
|
#if LIBTORRENT_VERSION_NUM < 10000
|
||||||
if (peer.connection_type & peer_info::bittorrent_utp) {
|
if (peer.connection_type & peer_info::bittorrent_utp) {
|
||||||
#else
|
#else
|
||||||
|
@ -449,7 +448,6 @@ QString PeerListWidget::getConnectionString(const peer_info& peer)
|
||||||
#endif
|
#endif
|
||||||
return QString::fromUtf8("μTP");
|
return QString::fromUtf8("μTP");
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
QString connection;
|
QString connection;
|
||||||
switch(peer.connection_type) {
|
switch(peer.connection_type) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue