mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Fix crash when delete RSS feed
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user