mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Fix crash when accessing trackers and using libtorrent v0.15.x
This commit is contained in:
@@ -302,7 +302,7 @@ size_type QTorrentHandle::filesize_at(unsigned int index) const {
|
||||
return h.get_torrent_info().file_at(index).size;
|
||||
}
|
||||
|
||||
const std::vector<announce_entry>& QTorrentHandle::trackers() const {
|
||||
const std::vector<announce_entry> QTorrentHandle::trackers() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
return h.trackers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user