- Fix possible crash with torrents containing unicode characters

This commit is contained in:
Christophe Dumez
2009-10-15 20:03:45 +00:00
parent 985ac3be68
commit e9b4c6c047
2 changed files with 2 additions and 1 deletions

View File

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