Auto-updating of feeds definitely fixed.

This commit is contained in:
Martin Rotter 2016-01-20 06:44:40 +01:00
parent f03aec0956
commit 55526baee5
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
3.1.0 3.1.0
————— —————
Fixed:
▪ ♥ Auto-updating of feeds fixed (again?!). ♥
Changed: Changed:
▪ TT-RSS plugin can now restore messages from local recycle bin. ▪ TT-RSS plugin can now restore messages from local recycle bin.

View File

@ -125,7 +125,7 @@ void FeedsModel::quit() {
} }
} }
void FeedsModel::updateFeeds(const QList<Feed *> &feeds) { void FeedsModel::updateFeeds(const QList<Feed*> &feeds) {
if (!qApp->feedUpdateLock()->tryLock()) { if (!qApp->feedUpdateLock()->tryLock()) {
qApp->showGuiMessage(tr("Cannot update all items"), qApp->showGuiMessage(tr("Cannot update all items"),
tr("You cannot update all items because another another critical operation is ongoing."), tr("You cannot update all items because another another critical operation is ongoing."),
@ -322,7 +322,7 @@ void FeedsModel::executeNextAutoUpdate() {
if (!feeds_for_update.isEmpty()) { if (!feeds_for_update.isEmpty()) {
// Request update for given feeds. // Request update for given feeds.
emit feedsUpdateRequested(feeds_for_update); updateFeeds(feeds_for_update);
// NOTE: OSD/bubble informing about performing // NOTE: OSD/bubble informing about performing
// of scheduled update can be shown now. // of scheduled update can be shown now.