mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-17 22:28:35 -05:00
fix crash on project close from deleting events
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <QSet>
|
||||
#include <QPixmap>
|
||||
#include <QJsonObject>
|
||||
#include <QPointer>
|
||||
|
||||
#include "orderedjson.h"
|
||||
using OrderedJson = poryjson::Json;
|
||||
@@ -198,7 +199,7 @@ protected:
|
||||
QPixmap pixmap;
|
||||
DraggablePixmapItem *pixmapItem = nullptr;
|
||||
|
||||
EventFrame *eventFrame = nullptr;
|
||||
QPointer<EventFrame> eventFrame;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user