- BUGFIX: Fix crash on torrent addition (if libtorrent-rasterbar has debug enabled)

This commit is contained in:
Christophe Dumez
2009-10-30 13:11:07 +00:00
parent 51dcd6c93c
commit 833f1d8c6a
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v1.5.5
- BUGFIX: Fixed man page
- BUGFIX: Fix crash on torrent addition (if libtorrent-rasterbar has debug enabled)
* Sun Oct 25 2009 - Christophe Dumez <chris@qbittorrent.org> - v1.5.4
- BUGFIX: Updated man page
- BUGFIX: Fixed possible crash with torrents containing unicode characters

View File

@@ -856,6 +856,7 @@ void bittorrent::loadFilesPriorities(QTorrentHandle &h) {
qDebug("Setting file piority to %d", priority);
v.push_back(priority);
}
if(v.size() == (unsigned int)h.num_files())
h.prioritize_files(v);
}