mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Improve "stats updated" signal handling in MainWindow class
This commit is contained in:
parent
50e0b2ab15
commit
58fa5e004f
3 changed files with 29 additions and 20 deletions
|
@ -4399,7 +4399,8 @@ void Session::handleStateUpdateAlert(const lt::state_update_alert *p)
|
|||
updatedTorrents.push_back(torrent);
|
||||
}
|
||||
|
||||
emit torrentsUpdated(updatedTorrents);
|
||||
if (!updatedTorrents.isEmpty())
|
||||
emit torrentsUpdated(updatedTorrents);
|
||||
}
|
||||
|
||||
namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue