diff --git a/src/gui/rss/feedlistwidget.cpp b/src/gui/rss/feedlistwidget.cpp index 28feef1d2..54251ac02 100644 --- a/src/gui/rss/feedlistwidget.cpp +++ b/src/gui/rss/feedlistwidget.cpp @@ -67,7 +67,7 @@ void FeedListWidget::itemAboutToBeRemoved(QTreeWidgetItem *item) { Rss::FilePtr file = m_rssMapping.take(item); if (Rss::FeedPtr feed = qSharedPointerDynamicCast(file)) { m_feedsItems.remove(feed->id()); - } if (Rss::FolderPtr folder = qSharedPointerDynamicCast(file)) { + } else if (Rss::FolderPtr folder = qSharedPointerDynamicCast(file)) { Rss::FeedList feeds = folder->getAllFeeds(); foreach (const Rss::FeedPtr& feed, feeds) { m_feedsItems.remove(feed->id());