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,9 +87,11 @@ void ArticleListNotification::loadResults(const QHash<Feed*, QList<Message>>& ne
continue;
}
if (m_newMessages[fd].size() > 0) {
m_ui.m_cmbFeeds->addItem(fd->sanitizedTitle(), QVariant::fromValue(fd));
}
}
}
void ArticleListNotification::openArticleInArticleList() {
emit openingArticleInArticleListRequested(m_ui.m_cmbFeeds->currentData().value<Feed*>(), selectedMessage());