- Make sure Unread item is updated whenever a feed is updated

This commit is contained in:
Christophe Dumez 2009-08-24 09:47:13 +00:00
parent 0984b8b8e1
commit 40e9105ee5

View file

@ -507,6 +507,8 @@ void RSSImp::updateFeedInfos(QString url, QString aliasOrUrl, unsigned int nbUnr
// Update parent
if(item->parent())
updateItemInfos(item->parent());
// Update Unread item
updateItemInfos(listStreams->getUnreadItem());
// If the feed is selected, update the displayed news
if(listStreams->currentItem() == item){
refreshNewsList(item);