- Display more log messages

This commit is contained in:
Christophe Dumez 2007-03-29 14:31:43 +00:00
parent ebc9d62f69
commit 3ff075c048
5 changed files with 33 additions and 1 deletions

View file

@ -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){