mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
- Fix in rss refresh and mark all as read
This commit is contained in:
parent
c4d143c2c0
commit
b99b838827
2 changed files with 5 additions and 5 deletions
|
@ -120,6 +120,8 @@
|
|||
}
|
||||
|
||||
void RSSImp::on_actionMark_all_as_read_triggered() {
|
||||
textBrowser->clear();
|
||||
listNews->clear();
|
||||
QList<QTreeWidgetItem*> selectedItems = listStreams->selectedItems();
|
||||
QTreeWidgetItem* item;
|
||||
foreach(item, selectedItems){
|
||||
|
@ -128,6 +130,8 @@
|
|||
feed->markAllAsRead();
|
||||
item->setData(0, Qt::DisplayRole, feed->getAliasOrUrl()+ QString::fromUtf8(" (0)"));
|
||||
}
|
||||
if(selectedItems.size())
|
||||
refreshNewsList(selectedItems.last(), 0);
|
||||
}
|
||||
|
||||
//right-click somewhere, refresh all the streams
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue