mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-01 00:22:09 +00:00
Remove leftover tracker authentication code
This commit is contained in:
parent
3b949c4a8a
commit
4a414d50f1
@ -3453,12 +3453,6 @@ void Session::handleTorrentTrackerError(TorrentHandle *const torrent, const QStr
|
|||||||
emit trackerError(torrent, trackerUrl);
|
emit trackerError(torrent, trackerUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Session::handleTorrentTrackerAuthenticationRequired(TorrentHandle *const torrent, const QString &trackerUrl)
|
|
||||||
{
|
|
||||||
Q_UNUSED(trackerUrl);
|
|
||||||
emit trackerAuthenticationRequired(torrent);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Session::handleTorrentTrackerWarning(TorrentHandle *const torrent, const QString &trackerUrl)
|
void Session::handleTorrentTrackerWarning(TorrentHandle *const torrent, const QString &trackerUrl)
|
||||||
{
|
{
|
||||||
emit trackerWarning(torrent, trackerUrl);
|
emit trackerWarning(torrent, trackerUrl);
|
||||||
|
@ -489,7 +489,6 @@ namespace BitTorrent
|
|||||||
void handleTorrentTrackerReply(TorrentHandle *const torrent, const QString &trackerUrl);
|
void handleTorrentTrackerReply(TorrentHandle *const torrent, const QString &trackerUrl);
|
||||||
void handleTorrentTrackerWarning(TorrentHandle *const torrent, const QString &trackerUrl);
|
void handleTorrentTrackerWarning(TorrentHandle *const torrent, const QString &trackerUrl);
|
||||||
void handleTorrentTrackerError(TorrentHandle *const torrent, const QString &trackerUrl);
|
void handleTorrentTrackerError(TorrentHandle *const torrent, const QString &trackerUrl);
|
||||||
void handleTorrentTrackerAuthenticationRequired(TorrentHandle *const torrent, const QString &trackerUrl);
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void statsUpdated();
|
void statsUpdated();
|
||||||
|
@ -1463,9 +1463,6 @@ void TorrentHandle::handleTrackerErrorAlert(const libtorrent::tracker_error_aler
|
|||||||
|
|
||||||
m_trackerInfos[trackerUrl].lastMessage = message;
|
m_trackerInfos[trackerUrl].lastMessage = message;
|
||||||
|
|
||||||
if (p->status_code == 401)
|
|
||||||
m_session->handleTorrentTrackerAuthenticationRequired(this, trackerUrl);
|
|
||||||
|
|
||||||
m_session->handleTorrentTrackerError(this, trackerUrl);
|
m_session->handleTorrentTrackerError(this, trackerUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user