mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Fixed an error when disabling upnp
- upnp is now disabled as a default
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user