mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
Fix possible crash on clicking a RSS article
This commit is contained in:
parent
bee507cb45
commit
071801fee7
@ -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…
Reference in New Issue
Block a user