mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Redesign RSS base classes.
This commit is contained in:
committed by
Vladimir Golovnev (qlassez)
parent
6f7ae728eb
commit
28ed981082
@@ -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