mirror of
https://github.com/huderlem/porymap.git
synced 2026-07-02 00:02:04 -05:00
fix crash on project close from deleting events
This commit is contained in:
parent
777a6c2e18
commit
508e5f85f1
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user