Browse Source

Fix crash when delete RSS feed

adaptive-webui-19844
KingLucius 8 years ago
parent
commit
dedd31ada5
  1. 1
      src/gui/rss/feedlistwidget.cpp

1
src/gui/rss/feedlistwidget.cpp

@ -137,6 +137,7 @@ void FeedListWidget::handleItemPathChanged(RSS::Item *rssItem) @@ -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

Loading…
Cancel
Save