Fix crash

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5011 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2017-08-06 11:35:01 +00:00
parent 6e2ed873bb
commit e71fc99464
4 changed files with 6 additions and 6 deletions

View File

@@ -19,6 +19,7 @@
#define ABSTRACTELEMENTPROPERTIESEDITORWIDGET_H
#include "PropertiesEditor/propertieseditorwidget.h"
#include "QPointer"
class Element;
@@ -34,7 +35,7 @@ class AbstractElementPropertiesEditorWidget : public PropertiesEditorWidget
virtual void setElement(Element *element) =0;
protected:
Element *m_element;
QPointer <Element> m_element;
};