mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 00:52:30 -06:00
fix libtorrent 1.0 compatibility
This commit is contained in:
@@ -279,8 +279,10 @@ private:
|
||||
TorrentSpeedMonitor *m_speedMonitor;
|
||||
shutDownAction m_shutdownAct;
|
||||
// Port forwarding
|
||||
#if LIBTORRENT_VERSION_MAJOR < 1
|
||||
libtorrent::upnp *m_upnp;
|
||||
libtorrent::natpmp *m_natpmp;
|
||||
#endif
|
||||
// DynDNS
|
||||
DNSUpdater *m_dynDNSUpdater;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user