mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 12:48:04 -06:00
Redesign RSS base classes.
This commit is contained in:
committed by
sledgehammer999
parent
9c3ae53330
commit
6436152c75
@@ -120,12 +120,10 @@ bool Article::isRead() const
|
||||
|
||||
void Article::markAsRead()
|
||||
{
|
||||
if (m_read) return;
|
||||
|
||||
m_read = true;
|
||||
m_parent->decrementUnreadCount();
|
||||
m_parent->markAsDirty();
|
||||
emit articleWasRead();
|
||||
if (!m_read) {
|
||||
m_read = true;
|
||||
emit articleWasRead();
|
||||
}
|
||||
}
|
||||
|
||||
const QString &Article::guid() const
|
||||
|
||||
Reference in New Issue
Block a user