Browse Source

- Torrentless downloads are no longer added in pause (temporary workaround as I think it is better not to start in paused state).

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

3
src/bittorrent.cpp

@ -417,7 +417,7 @@ QTorrentHandle bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
else else
p.storage_mode = storage_mode_sparse; p.storage_mode = storage_mode_sparse;
// Start in pause // Start in pause
//p.paused = true; p.paused = false;
p.duplicate_is_error = false; // Already checked p.duplicate_is_error = false; // Already checked
p.auto_managed = false; // Because it is added in paused state p.auto_managed = false; // Because it is added in paused state
// Adding torrent to bittorrent session // Adding torrent to bittorrent session
@ -1341,6 +1341,7 @@ void bittorrent::readAlerts() {
} }
} }
emit torrentFinishedChecking(h); emit torrentFinishedChecking(h);
emit metadataReceived(h);
} }
} }
a = s->pop_alert(); a = s->pop_alert();

Loading…
Cancel
Save