mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 12:48:04 -06:00
BUGFIX: More reliable RSS feed parsing (closes #1001777)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.9.9
|
||||
- BUGFIX: More reliable RSS feed parsing (closes #1001777)
|
||||
|
||||
* Sat May 5 2012 - Christophe Dumez <chris@qbittorrent.org> - v2.9.8
|
||||
- BUGFIX: Various UI style fixes
|
||||
- BUGFIX: Fix compilation with gcc 4.7
|
||||
|
||||
@@ -229,6 +229,13 @@ RssArticle::RssArticle(RssFeed* parent, QXmlStreamReader& xml)
|
||||
}
|
||||
}
|
||||
}
|
||||
// If guid is empty, fall back to some other identifier
|
||||
if (d->guid.isEmpty()) {
|
||||
if (!d->link.isEmpty())
|
||||
d->guid = d->link;
|
||||
else if (!d->title.isEmpty())
|
||||
d->guid = d->title;
|
||||
}
|
||||
}
|
||||
|
||||
RssArticle::RssArticle(RssFeed* parent, const QString &guid) {
|
||||
|
||||
Reference in New Issue
Block a user