Workaround related to the unknown statusbar crash.

--HG--
branch : gsoc2014-dfighter
hg/feature/cdb-packed
dfighter1985 11 years ago
parent d850a07e9e
commit 094210a079

@ -104,6 +104,10 @@ LandscapeEditorWindow::~LandscapeEditorWindow()
{ {
writeSettings(); writeSettings();
delete m_zoneBuilder; delete m_zoneBuilder;
Core::ICore::instance()->mainWindow()->statusBar()->removeWidget( m_statusInfo );
delete m_statusInfo;
m_statusInfo = NULL;
} }
QUndoStack *LandscapeEditorWindow::undoStack() const QUndoStack *LandscapeEditorWindow::undoStack() const

@ -121,6 +121,10 @@ WorldEditorWindow::~WorldEditorWindow()
writeSettings(); writeSettings();
delete m_zoneBuilderBase; delete m_zoneBuilderBase;
Core::ICore::instance()->mainWindow()->statusBar()->removeWidget( m_statusInfo );
delete m_statusInfo;
m_statusInfo = NULL;
} }
QUndoStack *WorldEditorWindow::undoStack() const QUndoStack *WorldEditorWindow::undoStack() const

Loading…
Cancel
Save