Add setting to ignore RSS rule matches for X days

This commit is contained in:
Nick Tiskov 2013-07-25 00:39:05 +04:00
parent 060d3fc5b9
commit 806a4a2e6a
6 changed files with 99 additions and 3 deletions

View file

@ -109,6 +109,7 @@ void RssArticle::markAsRead() {
m_read = true;
m_parent->decrementUnreadCount();
m_parent->markAsDirty();
emit articleWasRead();
}
const QString& RssArticle::guid() const
@ -122,8 +123,6 @@ const QString& RssArticle::title() const
}
void RssArticle::handleTorrentDownloadSuccess(const QString &url) {
if (url == m_torrentUrl || url == m_link) {
if (url == m_torrentUrl || url == m_link)
markAsRead();
emit articleWasRead();
}
}