mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-27 09:47:18 -04:00
[EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method.
This commit is contained in:
committed by
PrzeBrudny
parent
491e4fb795
commit
0eb1fd03e5
@@ -85,10 +85,7 @@ namespace gui
|
||||
bool NotesMainWindow::onDatabaseMessage(sys::Message *msgl)
|
||||
{
|
||||
DBNotesResponseMessage *msg = reinterpret_cast<DBNotesResponseMessage *>(msgl);
|
||||
if (notesModel->updateRecords(std::move(msg->records)))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return notesModel->updateRecords(std::move(*msg->records));
|
||||
}
|
||||
|
||||
} /* namespace gui */
|
||||
|
||||
Reference in New Issue
Block a user