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