mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Display more log messages
This commit is contained in:
parent
ebc9d62f69
commit
3ff075c048
5 changed files with 33 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue