update unread counts after batched feed fetch
This commit is contained in:
parent
1f988b8a60
commit
ebfd27c742
@ -1419,8 +1419,6 @@ QPair<int, int> DatabaseQueries::updateMessages(QSqlDatabase db,
|
||||
QString txt = bulk_error.text() + bulk_error.databaseText() + bulk_error.driverText();
|
||||
|
||||
qCriticalNN << LOGSEC_DB << "Failed bulk insert of articles:" << QUOTE_W_SPACE_DOT(txt);
|
||||
|
||||
IOFactory::writeFile("aaa.sql", final_bulk.toUtf8());
|
||||
}
|
||||
else {
|
||||
// OK, we bulk-inserted many messages but the thing is that they do not
|
||||
|
@ -350,6 +350,8 @@ void FeedReader::executeNextAutoUpdate() {
|
||||
|
||||
void FeedReader::onFeedUpdatesFinished(FeedDownloadResults updated_feeds) {
|
||||
m_feedsModel->reloadWholeLayout();
|
||||
m_feedsModel->notifyWithCounts();
|
||||
|
||||
emit feedUpdatesFinished(updated_feeds);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user