mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Added UPnP support (experimental) - taken from aMule CVS
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user