mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Properly report paused torrents from Bittorrent session to GUI (closes #86293)
- Removed some verbose debug
This commit is contained in:
parent
70c62f6294
commit
62f57862e5
4 changed files with 2 additions and 5 deletions
|
@ -1466,7 +1466,7 @@ void Bittorrent::readAlerts() {
|
|||
if(h.is_paused()) {
|
||||
// XXX: Unfortunately libtorrent-rasterbar does not send a torrent_paused_alert
|
||||
// and the torrent can be paused when metadata is received
|
||||
emit torrentPaused(h);
|
||||
emit pausedTorrent(h);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1478,7 +1478,7 @@ void Bittorrent::readAlerts() {
|
|||
if(h.is_valid()) {
|
||||
emit fullDiskError(h, misc::toQString(p->message()));
|
||||
h.pause();
|
||||
emit torrentPaused(h);
|
||||
emit pausedTorrent(h);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue