Fix maybe some problems with updating.

This commit is contained in:
Martin Rotter 2016-01-19 20:40:58 +01:00
parent 0962856b7a
commit f03aec0956
2 changed files with 2 additions and 2 deletions

View File

@ -316,7 +316,7 @@ void FeedsModel::executeNextAutoUpdate() {
// Pass needed interval data and lets the model decide which feeds
// should be updated in this pass.
const QList<Feed*> feeds_for_update = feedsForScheduledUpdate(m_globalAutoUpdateEnabled && m_globalAutoUpdateRemainingInterval == 0);
QList<Feed*> feeds_for_update = feedsForScheduledUpdate(m_globalAutoUpdateEnabled && m_globalAutoUpdateRemainingInterval == 0);
qApp->feedUpdateLock()->unlock();

View File

@ -192,7 +192,7 @@ class FeedsModel : public QAbstractItemModel {
void feedsUpdateFinished();
// Emitted when model requests update of some feeds.
void feedsUpdateRequested(const QList<Feed*> feeds);
void feedsUpdateRequested(QList<Feed*> feeds);
// Emitted if counts of messages are changed.
void messageCountsChanged(int unread_messages, int total_messages, bool any_feed_has_unread_messages);