fix crash on project close from deleting events
This commit is contained in:
parent
777a6c2e18
commit
508e5f85f1
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
#include <QJsonObject>
|
#include <QJsonObject>
|
||||||
|
#include <QPointer>
|
||||||
|
|
||||||
#include "orderedjson.h"
|
#include "orderedjson.h"
|
||||||
using OrderedJson = poryjson::Json;
|
using OrderedJson = poryjson::Json;
|
||||||
|
@ -198,7 +199,7 @@ protected:
|
||||||
QPixmap pixmap;
|
QPixmap pixmap;
|
||||||
DraggablePixmapItem *pixmapItem = nullptr;
|
DraggablePixmapItem *pixmapItem = nullptr;
|
||||||
|
|
||||||
EventFrame *eventFrame = nullptr;
|
QPointer<EventFrame> eventFrame;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue