- Fixed UPnP messages

This commit is contained in:
Christophe Dumez 2008-01-03 16:17:01 +00:00
parent c6abdacadd
commit 8d1f1512b0
4 changed files with 6 additions and 6 deletions

View file

@ -1163,7 +1163,7 @@ void bittorrent::readAlerts() {
}
else if (portmap_alert* p = dynamic_cast<portmap_alert*>(a.get())) {
qDebug("UPnP Success, msg: %s", p->msg().c_str());
emit UPnPSuccess();
emit UPnPSuccess(QString(p->msg().c_str()));
}
else if (peer_blocked_alert* p = dynamic_cast<peer_blocked_alert*>(a.get())) {
emit peerBlocked(QString::fromUtf8(p->ip.to_string().c_str()));