mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
RSS code clean up
This commit is contained in:
@@ -230,11 +230,8 @@ RssArticlePtr xmlToRssArticle(RssFeed* parent, QXmlStreamReader& xml)
|
|||||||
if (xml.attributes().value("type") == "application/x-bittorrent")
|
if (xml.attributes().value("type") == "application/x-bittorrent")
|
||||||
torrentUrl = xml.attributes().value("url").toString();
|
torrentUrl = xml.attributes().value("url").toString();
|
||||||
}
|
}
|
||||||
else if (xml.name() == "link") {
|
else if (xml.name() == "link")
|
||||||
link = xml.readElementText();
|
link = xml.readElementText();
|
||||||
if (guid.isEmpty())
|
|
||||||
guid = link;
|
|
||||||
}
|
|
||||||
else if (xml.name() == "description")
|
else if (xml.name() == "description")
|
||||||
description = xml.readElementText();
|
description = xml.readElementText();
|
||||||
else if (xml.name() == "pubDate")
|
else if (xml.name() == "pubDate")
|
||||||
|
|||||||
Reference in New Issue
Block a user