Workaround related to the unknown statusbar crash.

This commit is contained in:
dfighter1985 2014-07-09 23:20:50 +02:00
parent f694cfdb8e
commit a4ccf0b86c
2 changed files with 8 additions and 0 deletions

View file

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

View file

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