mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Merge pull request #13040 from glassez/fix-rss
Fix RSS article is not marked as "read" when torrent is downloaded
This commit is contained in:
commit
602e6b5263
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -401,8 +401,7 @@ void AutoDownloader::processJob(const QSharedPointer<ProcessingJob> &job)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// waiting for torrent file downloading
|
// waiting for torrent file downloading
|
||||||
// normalize URL string via QUrl since DownloadManager do it
|
m_waitingJobs.insert(torrentURL, job);
|
||||||
m_waitingJobs.insert(QUrl(torrentURL).toString(), job);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue