Do not mark articles read if download has failed

This change includes: always try to download unread articles matching ruleset already present in list (aka redownload failed items)
This commit is contained in:
Nick Tiskov 2013-07-09 17:33:00 +04:00
parent 050aadd3fa
commit b6c59fd70b
6 changed files with 65 additions and 35 deletions

View file

@ -120,3 +120,10 @@ const QString& RssArticle::title() const
{
return m_title;
}
void RssArticle::handleTorrentDownloadSuccess(const QString &url) {
if (url == m_torrentUrl || url == m_link) {
markAsRead();
emit articleWasRead();
}
}