mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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;
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user