save
This commit is contained in:
parent
b3216c570b
commit
810dd30412
@ -62,6 +62,7 @@ class FeedDownloader : public QObject {
|
|||||||
void finalizeUpdate();
|
void finalizeUpdate();
|
||||||
void removeDuplicateMessages(QList<Message>& messages);
|
void removeDuplicateMessages(QList<Message>& messages);
|
||||||
|
|
||||||
|
private:
|
||||||
bool m_isCacheSynchronizationRunning;
|
bool m_isCacheSynchronizationRunning;
|
||||||
bool m_stopCacheSynchronization;
|
bool m_stopCacheSynchronization;
|
||||||
QList<Feed*> m_feeds = {};
|
QList<Feed*> m_feeds = {};
|
||||||
|
@ -248,12 +248,10 @@ QList<Feed*> FeedsModel::feedsForScheduledUpdate(bool auto_update_now) {
|
|||||||
for (Feed* feed : qAsConst(stf)) {
|
for (Feed* feed : qAsConst(stf)) {
|
||||||
switch (feed->autoUpdateType()) {
|
switch (feed->autoUpdateType()) {
|
||||||
case Feed::AutoUpdateType::DontAutoUpdate:
|
case Feed::AutoUpdateType::DontAutoUpdate:
|
||||||
|
|
||||||
// Do not auto-update this feed ever.
|
// Do not auto-update this feed ever.
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case Feed::AutoUpdateType::DefaultAutoUpdate:
|
case Feed::AutoUpdateType::DefaultAutoUpdate:
|
||||||
|
|
||||||
if (auto_update_now) {
|
if (auto_update_now) {
|
||||||
feeds_for_update.append(feed);
|
feeds_for_update.append(feed);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user