diff -r b05af0bab735 -r 1909a0123c72 src/ui/canvas.h --- a/src/ui/canvas.h Tue Jun 07 20:44:19 2022 +0300 +++ b/src/ui/canvas.h Tue Jun 07 21:35:29 2022 +0300 @@ -13,6 +13,8 @@ DrawMode }; +Q_DECLARE_METATYPE(EditingMode); + struct DrawState { std::vector polygon;