fix showing wrong amount of updated feeds in notification

This commit is contained in:
Martin Rotter 2024-01-19 07:28:58 +01:00
parent 21d1e2912e
commit f78b25e0c9

View file

@ -87,8 +87,10 @@ void ArticleListNotification::loadResults(const QHash<Feed*, QList<Message>>& ne
continue; continue;
} }
if (m_newMessages[fd].size() > 0) {
m_ui.m_cmbFeeds->addItem(fd->sanitizedTitle(), QVariant::fromValue(fd)); m_ui.m_cmbFeeds->addItem(fd->sanitizedTitle(), QVariant::fromValue(fd));
} }
}
} }
void ArticleListNotification::openArticleInArticleList() { void ArticleListNotification::openArticleInArticleList() {