mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 04:54:18 +00:00
RSS code clean up
This commit is contained in:
parent
600c33dfa3
commit
716e84264e
@ -230,11 +230,8 @@ RssArticlePtr xmlToRssArticle(RssFeed* parent, QXmlStreamReader& xml)
|
||||
if (xml.attributes().value("type") == "application/x-bittorrent")
|
||||
torrentUrl = xml.attributes().value("url").toString();
|
||||
}
|
||||
else if (xml.name() == "link") {
|
||||
else if (xml.name() == "link")
|
||||
link = xml.readElementText();
|
||||
if (guid.isEmpty())
|
||||
guid = link;
|
||||
}
|
||||
else if (xml.name() == "description")
|
||||
description = xml.readElementText();
|
||||
else if (xml.name() == "pubDate")
|
||||
|
Loading…
x
Reference in New Issue
Block a user