Some tweaks.

This commit is contained in:
Martin Rotter 2014-03-18 20:18:57 +01:00
parent c2f893609c
commit 3ffd95a84b
1 changed files with 2 additions and 1 deletions

View File

@ -206,7 +206,8 @@ void FeedsView::executeNextAutoUpdate() {
// Pass needed interval data and lets the model decide which feeds
// should be updated in this pass.
QList<FeedsModelFeed*> feeds_for_update = m_sourceModel->feedsForScheduledUpdate(m_globalAutoUpdateRemainingInterval == 0);
QList<FeedsModelFeed*> feeds_for_update = m_sourceModel->feedsForScheduledUpdate(m_globalAutoUpdateEnabled &&
m_globalAutoUpdateRemainingInterval == 0);
if (feeds_for_update.isEmpty()) {
// No feeds are scheduled for update now, unlock the master lock.