Search for existing files in separate thread

This commit is contained in:
Vladimir Golovnev (Glassez)
2020-12-02 09:16:11 +03:00
committed by sledgehammer999
parent 389664213b
commit 28844eff44
10 changed files with 191 additions and 46 deletions

View File

@@ -142,7 +142,7 @@ TransferListModel::TransferListModel(QObject *parent)
connect(Session::instance(), &Session::torrentsUpdated, this, &TransferListModel::handleTorrentsUpdated);
connect(Session::instance(), &Session::torrentFinished, this, &TransferListModel::handleTorrentStatusUpdated);
connect(Session::instance(), &Session::torrentMetadataLoaded, this, &TransferListModel::handleTorrentStatusUpdated);
connect(Session::instance(), &Session::torrentMetadataReceived, this, &TransferListModel::handleTorrentStatusUpdated);
connect(Session::instance(), &Session::torrentResumed, this, &TransferListModel::handleTorrentStatusUpdated);
connect(Session::instance(), &Session::torrentPaused, this, &TransferListModel::handleTorrentStatusUpdated);
connect(Session::instance(), &Session::torrentFinishedChecking, this, &TransferListModel::handleTorrentStatusUpdated);