Fix bug in addFeeds

addFeeds would stop if it encountered a url that we already had in the
database instead of continuing with the next one.  This bug was
introduced due to refactoring for sync.
This commit is contained in:
Bart De Vries 2021-11-19 10:32:00 +01:00
parent 23001c552a
commit 1fb0e0fc45
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ void DataManager::addFeeds(const QStringList &urls, const bool fetch)
qCDebug(kastsDataManager) << "Adding feed";
if (feedExists(url)) {
qCDebug(kastsDataManager) << "Feed already exists";
return;
continue;
}
qCDebug(kastsDataManager) << "Feed does not yet exist";