mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
[RSS] Improve error handling when a RSS feed doesn't contain torrents
This commit is contained in:
parent
b78ccf289e
commit
2955bb5488
3 changed files with 10 additions and 2 deletions
|
@ -355,6 +355,8 @@ void RSSImp::downloadSelectedTorrents()
|
|||
RssArticlePtr article = feed->getItem(item->data(Article::IdRole).toString());
|
||||
if (!article) continue;
|
||||
|
||||
if (article->torrentUrl().isEmpty())
|
||||
continue;
|
||||
if (Preferences::instance()->useAdditionDialog())
|
||||
AddNewTorrentDialog::show(article->torrentUrl());
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue