mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
- fix for UPnP option
This commit is contained in:
parent
d778766e29
commit
e0a0a0beb1
4 changed files with 10 additions and 5 deletions
|
@ -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()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue