[EGD-3451] Simplified updateRecords.

This commit is contained in:
Przemyslaw Brudny
2020-08-06 20:42:58 +02:00
committed by PrzeBrudny
parent 010ecf6b37
commit fecf27b2f5
17 changed files with 22 additions and 60 deletions

View File

@@ -84,7 +84,7 @@ namespace gui
bool NotesMainWindow::onDatabaseMessage(sys::Message *msgl)
{
DBNotesResponseMessage *msg = reinterpret_cast<DBNotesResponseMessage *>(msgl);
if (notesModel->updateRecords(std::move(msg->records), msg->offset, msg->limit, msg->count))
if (notesModel->updateRecords(std::move(msg->records)))
return true;
return false;