--- a/src/document.h Sun Jun 26 20:27:04 2022 +0300 +++ b/src/document.h Sun Jun 26 20:54:09 2022 +0300 @@ -33,18 +33,6 @@ Q_DECLARE_METATYPE(EditingMode) -struct AppendToModel -{ - ModelElement newElement; -}; - -struct DeleteFromModel -{ - std::size_t position; -}; - -using ModelAction = std::variant<AppendToModel, DeleteFromModel>; - Q_DECLARE_METATYPE(ModelAction) class EditTools final : public QObject, public RenderLayer