From 508e5f85f1291896e81db9ee017b1d2910b2a2c8 Mon Sep 17 00:00:00 2001 From: garakmon Date: Mon, 20 Feb 2023 18:59:21 -0500 Subject: [PATCH] fix crash on project close from deleting events --- include/core/events.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; };