1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 04:54:18 +00:00

Merge pull request #6845 from KingLucius/rsscrash

Fix crash when delete RSS feed
This commit is contained in:
Vladimir Golovnev 2017-05-27 16:27:08 +03:00 committed by GitHub
commit 146b0b91f0

View File

@ -137,6 +137,7 @@ void FeedListWidget::handleItemPathChanged(RSS::Item *rssItem)
void FeedListWidget::handleItemAboutToBeRemoved(RSS::Item *rssItem)
{
rssItem->disconnect(this);
delete m_rssToTreeItemMapping.take(rssItem);
// RSS Item is still valid in this slot so if it is the last