From f03aec09564a9847ddf46eb4373d5637ac601754 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Tue, 19 Jan 2016 20:40:58 +0100 Subject: [PATCH] Fix maybe some problems with updating. --- src/core/feedsmodel.cpp | 2 +- src/core/feedsmodel.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/feedsmodel.cpp b/src/core/feedsmodel.cpp index 59361c98a..02310ac38 100755 --- a/src/core/feedsmodel.cpp +++ b/src/core/feedsmodel.cpp @@ -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 feeds_for_update = feedsForScheduledUpdate(m_globalAutoUpdateEnabled && m_globalAutoUpdateRemainingInterval == 0); + QList feeds_for_update = feedsForScheduledUpdate(m_globalAutoUpdateEnabled && m_globalAutoUpdateRemainingInterval == 0); qApp->feedUpdateLock()->unlock(); diff --git a/src/core/feedsmodel.h b/src/core/feedsmodel.h index 50ec6235c..2500a31c5 100755 --- a/src/core/feedsmodel.h +++ b/src/core/feedsmodel.h @@ -192,7 +192,7 @@ class FeedsModel : public QAbstractItemModel { void feedsUpdateFinished(); // Emitted when model requests update of some feeds. - void feedsUpdateRequested(const QList feeds); + void feedsUpdateRequested(QList feeds); // Emitted if counts of messages are changed. void messageCountsChanged(int unread_messages, int total_messages, bool any_feed_has_unread_messages);