mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 09:13:08 -07:00
Fix possible crash on clicking a RSS article
This commit is contained in:
parent
bee507cb45
commit
071801fee7
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ void RSSImp::refreshTextBrowser() {
|
|||
// Stop displaying previous news if necessary
|
||||
if(listStreams->currentFeed() == listStreams->getUnreadItem()) {
|
||||
if(previous_news) {
|
||||
delete listNews->takeTopLevelItem(listNews->indexOfTopLevelItem(previous_news));
|
||||
delete previous_news;
|
||||
}
|
||||
previous_news = item;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue