mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-28 23:44:32 +00:00
Emit signal when redirected to Magnet
This commit is contained in:
parent
9dfeeb9e81
commit
1e86c76e8a
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user