diff -r 37d3c819cafa -r 2837b549e616 src/document.h --- a/src/document.h Wed Jun 22 16:13:15 2022 +0300 +++ b/src/document.h Wed Jun 22 16:53:35 2022 +0300 @@ -31,7 +31,7 @@ CircleMode }; -Q_DECLARE_METATYPE(EditingMode); +Q_DECLARE_METATYPE(EditingMode) struct AppendToModel { @@ -40,7 +40,7 @@ struct DeleteFromModel { - int position; + std::size_t position; }; using ModelAction = std::variant;