mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Always keep number of unread news per folders up to date
- RefreshAllFeeds() only sets loading.png icon for feeds (and not folders)
This commit is contained in:
parent
f2d2e70967
commit
e126de8ff5
3 changed files with 24 additions and 11 deletions
|
@ -49,8 +49,11 @@ RssFolder::~RssFolder() {
|
|||
}
|
||||
|
||||
unsigned int RssFolder::getNbUnRead() const {
|
||||
// FIXME
|
||||
return 0;
|
||||
unsigned int nb_unread = 0;
|
||||
foreach(RssFile *file, this->values()) {
|
||||
nb_unread += file->getNbUnRead();
|
||||
}
|
||||
return nb_unread;
|
||||
}
|
||||
|
||||
RssFile::FileType RssFolder::getType() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue