diff --git a/include/core/events.h b/include/core/events.h index ba437c6c..566f0687 100644 --- a/include/core/events.h +++ b/include/core/events.h @@ -7,6 +7,7 @@ #include #include #include +#include #include "orderedjson.h" using OrderedJson = poryjson::Json; @@ -198,7 +199,7 @@ protected: QPixmap pixmap; DraggablePixmapItem *pixmapItem = nullptr; - EventFrame *eventFrame = nullptr; + QPointer eventFrame; };