Browse Source

- Fix "Append .!qB extension" for torrents without metadata (Magnet Links)

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

2
src/bittorrent.cpp

@ -1295,7 +1295,7 @@ void Bittorrent::setDefaultTempPath(QString temppath) { @@ -1295,7 +1295,7 @@ void Bittorrent::setDefaultTempPath(QString temppath) {
#ifdef LIBTORRENT_0_15
void Bittorrent::appendqBextensionToTorrent(QTorrentHandle h, bool append) {
if(!h.is_valid()) return;
if(!h.is_valid() || !h.has_metadata()) return;
std::vector<size_type> fp;
h.file_progress(fp);
for(int i=0; i<h.num_files(); ++i) {

Loading…
Cancel
Save