Browse Source

- Fix crash when applying torrent files priorities (if libtorrent-rasterbar has debug enabled)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
fe3a6b8b57
  1. 1
      src/bittorrent.cpp

1
src/bittorrent.cpp

@ -858,6 +858,7 @@ void bittorrent::loadFilesPriorities(QTorrentHandle &h) { @@ -858,6 +858,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);
}

Loading…
Cancel
Save