- Fixed compilation warnings

- Started work on fastresume reject alerts
This commit is contained in:
Christophe Dumez 2007-07-24 07:13:40 +00:00
parent e606d04098
commit a0e32fefd7
4 changed files with 6 additions and 4 deletions

View file

@ -890,6 +890,9 @@ void bittorrent::readAlerts(){
else if (peer_blocked_alert* p = dynamic_cast<peer_blocked_alert*>(a.get())){
emit peerBlocked(QString(p->ip.to_string().c_str()));
}
else if (fastresume_rejected_alert* p = dynamic_cast<fastresume_rejected_alert*>(a.get())){
emit fastResumeDataRejected(QString(p->handle.name().c_str()));
}
a = s->pop_alert();
}
}