try to fixx #910
This commit is contained in:
parent
14889ea88d
commit
9a25aceaa8
@ -72,7 +72,8 @@ void FeedDownloader::updateFeeds(const QList<Feed*>& feeds) {
|
||||
m_feeds.clear();
|
||||
|
||||
if (feeds.isEmpty()) {
|
||||
qDebugNN << LOGSEC_FEEDDOWNLOADER << "No feeds to update in worker thread, aborting update.";
|
||||
qWarningNN << LOGSEC_FEEDDOWNLOADER << "No feeds to update in worker thread, aborting update.";
|
||||
finalizeUpdate();
|
||||
}
|
||||
else {
|
||||
qDebugNN << LOGSEC_FEEDDOWNLOADER << "Starting feed updates from worker in thread"
|
||||
|
@ -85,6 +85,10 @@ void FeedReader::updateFeeds(const QList<Feed*>& feeds) {
|
||||
}
|
||||
}
|
||||
|
||||
if (my_feeds.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!qApp->feedUpdateLock()->tryLock()) {
|
||||
qApp->showGuiMessage(Notification::Event::GeneralEvent,
|
||||
{tr("Cannot fetch articles at this point"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user