- 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

@@ -1,5 +1,6 @@
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.5.4
- BUGFIX: Updated man page
- BUGFIX: Fixed possible crash with torrents containing unicode characters
* Wed Sep 30 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.5.3
- BUGFIX: Fix a possible crash when pausing then deleting a torrent quickly

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 {