mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
[RSS] Improve error handling when a RSS feed doesn't contain torrents
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user