fix some bug in limitting articles
This commit is contained in:
parent
450d01e714
commit
607439e49f
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ bool DatabaseQueries::removeUnwantedArticlesFromFeed(const QSqlDatabase& db,
|
||||||
const Feed::ArticleIgnoreLimit& app_setup) {
|
const Feed::ArticleIgnoreLimit& app_setup) {
|
||||||
// Feed setup has higher preference.
|
// Feed setup has higher preference.
|
||||||
int amount_to_keep =
|
int amount_to_keep =
|
||||||
feed_setup.m_keepCountOfArticles > 0 ? feed_setup.m_keepCountOfArticles : app_setup.m_keepCountOfArticles;
|
feed_setup.m_customizeLimitting ? feed_setup.m_keepCountOfArticles : app_setup.m_keepCountOfArticles;
|
||||||
bool dont_remove_unread =
|
bool dont_remove_unread =
|
||||||
feed_setup.m_customizeLimitting ? feed_setup.m_doNotRemoveUnread : app_setup.m_doNotRemoveUnread;
|
feed_setup.m_customizeLimitting ? feed_setup.m_doNotRemoveUnread : app_setup.m_doNotRemoveUnread;
|
||||||
bool dont_remove_starred =
|
bool dont_remove_starred =
|
||||||
|
|
Loading…
Add table
Reference in a new issue