mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- FEATURE: Added 'Mark all as read' function for RSS feeds
This commit is contained in:
parent
563055e891
commit
07dc182053
5 changed files with 119 additions and 38 deletions
|
@ -242,6 +242,14 @@ class RssStream : public QObject{
|
|||
return listItem.size();
|
||||
}
|
||||
|
||||
void markAllAsRead() {
|
||||
RssItem *item;
|
||||
foreach(item, listItem){
|
||||
if(!item->isRead())
|
||||
item->setRead();
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int getNbUnRead() const{
|
||||
unsigned int nbUnread=0;
|
||||
RssItem *item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue