mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- fix for UPnP option
This commit is contained in:
@@ -986,7 +986,11 @@ void GUI::configureSession(bool deleteOptions){
|
||||
}
|
||||
#ifndef NO_UPNP
|
||||
// Upnp
|
||||
BTSession.enableUPnP();
|
||||
if(options->isDHTEnabled()){
|
||||
BTSession.enableUPnP(options->getUPnPPort());
|
||||
}else{
|
||||
BTSession.disableUPnP();
|
||||
}
|
||||
#endif
|
||||
// PeX
|
||||
if(!options->isPeXDisabled()){
|
||||
|
||||
Reference in New Issue
Block a user