Browse Source

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

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
edc25ba52f
  1. 2
      src/qtorrenthandle.cpp

2
src/qtorrenthandle.cpp

@ -236,7 +236,7 @@ size_type QTorrentHandle::filesize_at(unsigned int index) const { @@ -236,7 +236,7 @@ size_type QTorrentHandle::filesize_at(unsigned int index) const {
std::vector<announce_entry> const& QTorrentHandle::trackers() const {
Q_ASSERT(h.is_valid());
return h.trackers();
return h.get_torrent_info().trackers();
}
torrent_status::state_t QTorrentHandle::state() const {

Loading…
Cancel
Save