mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Merge pull request #6845 from KingLucius/rsscrash
Fix crash when delete RSS feed
This commit is contained in:
commit
146b0b91f0
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ void FeedListWidget::handleItemPathChanged(RSS::Item *rssItem)
|
||||||
|
|
||||||
void FeedListWidget::handleItemAboutToBeRemoved(RSS::Item *rssItem)
|
void FeedListWidget::handleItemAboutToBeRemoved(RSS::Item *rssItem)
|
||||||
{
|
{
|
||||||
|
rssItem->disconnect(this);
|
||||||
delete m_rssToTreeItemMapping.take(rssItem);
|
delete m_rssToTreeItemMapping.take(rssItem);
|
||||||
|
|
||||||
// RSS Item is still valid in this slot so if it is the last
|
// RSS Item is still valid in this slot so if it is the last
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue