Browse Source

- Fix magnet link support

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

2
src/bittorrent.cpp

@ -842,7 +842,7 @@ QTorrentHandle Bittorrent::addMagnetUri(QString magnet_uri, bool resumed) {
} }
QString label = TorrentTempData::getLabel(hash); QString label = TorrentTempData::getLabel(hash);
// Save persistent data for new torrent // Save persistent data for new torrent
TorrentPersistentData::saveTorrentPersistentData(h); TorrentPersistentData::saveTorrentPersistentData(h, true);
// Save Label // Save Label
if(!label.isEmpty()) { if(!label.isEmpty()) {
TorrentPersistentData::saveLabel(hash, label); TorrentPersistentData::saveLabel(hash, label);

Loading…
Cancel
Save