mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Improve "stats updated" signal handling in MainWindow class
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user