mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
Workaround related to the unknown statusbar crash.
This commit is contained in:
parent
1f009a436d
commit
2419e46a0f
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue