mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 07:46:17 -07:00
- Fixed an error when disabling upnp
- upnp is now disabled as a default
This commit is contained in:
parent
3ea7685405
commit
3f01be8d6e
3 changed files with 13 additions and 2 deletions
|
@ -986,7 +986,7 @@ void GUI::configureSession(bool deleteOptions){
|
|||
}
|
||||
#ifndef NO_UPNP
|
||||
// Upnp
|
||||
if(options->isDHTEnabled()){
|
||||
if(options->isUPnPEnabled()){
|
||||
BTSession.enableUPnP(options->getUPnPPort());
|
||||
BTSession.setUPnPPort(options->getUPnPPort());
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue