mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
parent
f6e2715f4a
commit
794a92f911
2 changed files with 11 additions and 0 deletions
|
@ -1416,7 +1416,13 @@ void SessionImpl::initializeNativeSession()
|
|||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if LIBTORRENT_VERSION_NUM < 20100
|
||||
m_nativeSession = new lt::session(sessionParams, lt::session::paused);
|
||||
#else
|
||||
m_nativeSession = new lt::session(sessionParams);
|
||||
m_nativeSession->pause();
|
||||
#endif
|
||||
|
||||
LogMsg(tr("Peer ID: \"%1\"").arg(QString::fromStdString(peerId)), Log::INFO);
|
||||
LogMsg(tr("HTTP User-Agent: \"%1\"").arg(USER_AGENT), Log::INFO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue