Tile Editor crash fixes.

--HG--
branch : gsoc2014-dfighter
hg/feature/cdb-packed
dfighter1985 11 years ago
parent fd5d961ba7
commit 4f39a58e31

@ -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…
Cancel
Save