- Remove call to h.trackers() since it seems to cause crashes sometimes

This commit is contained in:
Christophe Dumez 2009-10-15 19:58:15 +00:00
parent 922112fc5b
commit edc25ba52f

View file

@ -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 {