mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
- Remove call to h.trackers() since it seems to cause crashes sometimes
This commit is contained in:
@@ -236,7 +236,7 @@ size_type QTorrentHandle::filesize_at(unsigned int index) const {
|
|||||||
|
|
||||||
std::vector<announce_entry> const& QTorrentHandle::trackers() const {
|
std::vector<announce_entry> const& QTorrentHandle::trackers() const {
|
||||||
Q_ASSERT(h.is_valid());
|
Q_ASSERT(h.is_valid());
|
||||||
return h.trackers();
|
return h.get_torrent_info().trackers();
|
||||||
}
|
}
|
||||||
|
|
||||||
torrent_status::state_t QTorrentHandle::state() const {
|
torrent_status::state_t QTorrentHandle::state() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user