RSS code clean up

This commit is contained in:
Christophe Dumez 2012-08-19 15:00:07 +03:00
parent 0efcdbaf52
commit a70e565edb
4 changed files with 7 additions and 12 deletions

View file

@ -81,7 +81,7 @@ QString RssArticle::author() const {
}
QString RssArticle::torrentUrl() const {
return m_torrentUrl;
return m_torrentUrl.isEmpty() ? m_link : m_torrentUrl;
}
QString RssArticle::link() const {