mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
- Added UPnP support (experimental) - taken from aMule CVS
This commit is contained in:
parent
f8e7687551
commit
fd2d2ddc0b
12 changed files with 2602 additions and 4 deletions
|
@ -1172,6 +1172,11 @@ void GUI::configureSession(bool deleteOptions){
|
|||
}else{
|
||||
BTSession.disableDHT();
|
||||
}
|
||||
#ifndef NO_UPNP
|
||||
// Upnp
|
||||
BTSession.enableUPnP();
|
||||
#endif
|
||||
// PeX
|
||||
if(!options->isPeXDisabled()){
|
||||
qDebug("Enabling Peer eXchange (PeX)");
|
||||
BTSession.enablePeerExchange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue