Some TransferListWidget speedup.

Handle data changed event for all torrents at once.
This commit is contained in:
Vladimir Golovnev (Glassez)
2015-11-05 19:17:10 +03:00
committed by Vladimir Golovnev
parent 5cf976bbb2
commit 91ffbfcf68
6 changed files with 37 additions and 41 deletions

View File

@@ -97,6 +97,7 @@ private slots:
void addTorrent(BitTorrent::TorrentHandle *const torrent);
void handleTorrentAboutToBeRemoved(BitTorrent::TorrentHandle *const torrent);
void handleTorrentStatusUpdated(BitTorrent::TorrentHandle *const torrent);
void handleTorrentsUpdated();
private:
QList<BitTorrent::TorrentHandle *> m_torrents;