void AlertWaiterThread::run()
{
- TorrentAlert const *alertTemp = NULL;
+ Alert const *alertTemp = NULL;
while (true)
{
+#ifdef QTRAPIDS_DEBUG
qDebug() << "AlertWaiter running";
+#endif
// wait_for_alert() call blocks. Returns libtorrent alert.
// Returns NULL, if no alerts in timeout period.
alertTemp = btSession_->wait_for_alert(ALERT_WAIT_TIMEOUT);