Browse Source

- Fix "Unread" name disapearing when marking items read

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
90d17d16a4
  1. 2
      src/rss_imp.cpp

2
src/rss_imp.cpp

@ -345,7 +345,7 @@ void RSSImp::on_markReadButton_clicked() {
foreach(item, selectedItems){ foreach(item, selectedItems){
RssFile *rss_item = listStreams->getRSSItem(item); RssFile *rss_item = listStreams->getRSSItem(item);
rss_item->markAllAsRead(); rss_item->markAllAsRead();
item->setData(0, Qt::DisplayRole, rss_item->getName()+ QString::fromUtf8(" (0)")); updateItemInfos(item);
} }
if(selectedItems.size()) if(selectedItems.size())
refreshNewsList(listStreams->currentItem()); refreshNewsList(listStreams->currentItem());

Loading…
Cancel
Save