mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
RSS: Cache number of unread articles in a feed instead of computing it every time.
Optimization to address issue #34.
This commit is contained in:
@@ -73,6 +73,7 @@ public:
|
||||
virtual RssArticleList articleList() const;
|
||||
const RssArticleHash& articleHash() const { return m_articles; }
|
||||
virtual RssArticleList unreadArticleList() const;
|
||||
void decrementUnreadCount();
|
||||
|
||||
private slots:
|
||||
void handleFinishedDownload(const QString& url, const QString &file_path);
|
||||
@@ -95,7 +96,7 @@ private:
|
||||
QString m_alias;
|
||||
QString m_icon;
|
||||
QString m_iconUrl;
|
||||
bool m_read;
|
||||
uint m_unreadCount;
|
||||
bool m_dirty;
|
||||
bool m_inErrorState;
|
||||
bool m_loading;
|
||||
|
||||
Reference in New Issue
Block a user