Tile Editor crash fixes.

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-04-23 02:10:14 +02:00
parent fd5d961ba7
commit 4f39a58e31
2 changed files with 1 additions and 3 deletions

View file

@ -147,8 +147,6 @@ TileEditorMainWindow::~TileEditorMainWindow()
delete m_ui;
delete m_undoStack;
delete m_rotationMenu;
delete m_zoomMenu;
delete m_tileDisplayMenu;
delete m_tileEditorMenu;

View file

@ -68,7 +68,7 @@ public:
virtual ~TileEditorContext()
{
delete m_tileEditorMainWindow;
m_tileEditorMainWindow = NULL;
}
virtual QString id() const