Tile Editor crash fixes.
--HG-- branch : gsoc2014-dfighter
This commit is contained in:
parent
fd5d961ba7
commit
4f39a58e31
2 changed files with 1 additions and 3 deletions
|
@ -147,8 +147,6 @@ TileEditorMainWindow::~TileEditorMainWindow()
|
||||||
delete m_ui;
|
delete m_ui;
|
||||||
delete m_undoStack;
|
delete m_undoStack;
|
||||||
delete m_rotationMenu;
|
delete m_rotationMenu;
|
||||||
delete m_zoomMenu;
|
|
||||||
|
|
||||||
|
|
||||||
delete m_tileDisplayMenu;
|
delete m_tileDisplayMenu;
|
||||||
delete m_tileEditorMenu;
|
delete m_tileEditorMenu;
|
||||||
|
|
|
@ -68,7 +68,7 @@ public:
|
||||||
|
|
||||||
virtual ~TileEditorContext()
|
virtual ~TileEditorContext()
|
||||||
{
|
{
|
||||||
delete m_tileEditorMainWindow;
|
m_tileEditorMainWindow = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual QString id() const
|
virtual QString id() const
|
||||||
|
|
Loading…
Reference in a new issue