mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
- Unread items were not updated correctly when a feed was updated
This commit is contained in:
parent
d72485a955
commit
6e87d6655a
@ -510,8 +510,13 @@ void RSSImp::updateFeedInfos(QString url, QString aliasOrUrl, unsigned int nbUnr
|
|||||||
// Update Unread item
|
// Update Unread item
|
||||||
updateItemInfos(listStreams->getUnreadItem());
|
updateItemInfos(listStreams->getUnreadItem());
|
||||||
// If the feed is selected, update the displayed news
|
// If the feed is selected, update the displayed news
|
||||||
if(listStreams->currentItem() == item || listStreams->currentItem() == listStreams->getUnreadItem()){
|
if(listStreams->currentItem() == item ){
|
||||||
refreshNewsList(item);
|
refreshNewsList(item);
|
||||||
|
} else {
|
||||||
|
// Update unread items
|
||||||
|
if(listStreams->currentItem() == listStreams->getUnreadItem()) {
|
||||||
|
refreshNewsList(listStreams->getUnreadItem());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user