Make sure new RSS download rules apply to existing articles as well, not just new ones

May be related to #116.
This commit is contained in:
Christophe Dumez 2012-09-23 10:25:25 +03:00
parent 7e57a63ec5
commit 819dcacae0
8 changed files with 51 additions and 20 deletions

View file

@ -89,10 +89,9 @@ const QString& RssArticle::link() const {
return m_link;
}
const QString& RssArticle::description() const {
if (m_description.isNull())
return "";
return m_description;
QString RssArticle::description() const
{
return m_description.isNull() ? "" : m_description;
}
const QDateTime& RssArticle::date() const {