mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
- Fix "Unread" name disapearing when marking items read
This commit is contained in:
parent
df0f01cd71
commit
90d17d16a4
@ -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…
Reference in New Issue
Block a user