diff -r 2837b549e616 -r 94b0a30a1886 src/model.cpp --- a/src/model.cpp Wed Jun 22 16:53:35 2022 +0300 +++ b/src/model.cpp Wed Jun 22 20:10:57 2022 +0300 @@ -203,7 +203,7 @@ Q_EMIT this->dataChanged(index, index); } -std::optional Model::find(ModelId id) const +std::optional Model::find(ModelId id) const { return pointerToOptional(findInMap(this->positions, id)); }