mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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:
parent
58bc10fc47
commit
aecdc57cd4
8 changed files with 72 additions and 23 deletions
|
@ -108,6 +108,11 @@ void RssManager::loadStreamList() {
|
|||
qDebug("NB RSS streams loaded: %d", streamsUrl.size());
|
||||
}
|
||||
|
||||
void RssManager::forwardFeedContentChanged(const QString& url)
|
||||
{
|
||||
emit feedContentChanged(url);
|
||||
}
|
||||
|
||||
void RssManager::forwardFeedInfosChanged(const QString &url, const QString &display_name, uint nbUnread) {
|
||||
emit feedInfosChanged(url, display_name, nbUnread);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue