|
|
@ -1782,6 +1782,7 @@ void Session::handleDownloadFinished(const Net::DownloadResult &result) |
|
|
|
, MagnetUri(), TorrentInfo::load(result.data)); |
|
|
|
, MagnetUri(), TorrentInfo::load(result.data)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case Net::DownloadStatus::RedirectedToMagnet: |
|
|
|
case Net::DownloadStatus::RedirectedToMagnet: |
|
|
|
|
|
|
|
emit downloadFromUrlFinished(result.url); |
|
|
|
addTorrent_impl(CreateTorrentParams(m_downloadedTorrents.take(result.url)), MagnetUri(result.magnet)); |
|
|
|
addTorrent_impl(CreateTorrentParams(m_downloadedTorrents.take(result.url)), MagnetUri(result.magnet)); |
|
|
|
break; |
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|