mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- Display more log messages
This commit is contained in:
@@ -89,10 +89,16 @@ void bittorrent::enableUPnP(int port){
|
||||
true,
|
||||
"qBittorrent");
|
||||
m_upnp = new CUPnPControlPoint(port);
|
||||
connect(m_upnp, SIGNAL(noWanServiceDetected()), this, SLOT(noWanServiceEventHandler()));
|
||||
m_upnp->AddPortMappings(m_upnpMappings);
|
||||
}
|
||||
}
|
||||
|
||||
void bittorrent::noWanServiceEventHandler(){
|
||||
// Forward this signal
|
||||
emit noWanServiceDetected();
|
||||
}
|
||||
|
||||
// Set UPnP port (>= 1000)
|
||||
void bittorrent::setUPnPPort(int upnp_port){
|
||||
if(!UPnPEnabled){
|
||||
|
||||
Reference in New Issue
Block a user