Mercurial > hg > svgui
changeset 458:bd4db63b085e
* minor stuff
author | Chris Cannam |
---|---|
date | Thu, 04 Dec 2008 17:17:06 +0000 |
parents | e75f15c9ea11 |
children | 0acf803e2c79 |
files | layer/SpectrumLayer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp Wed Dec 03 16:25:47 2008 +0000 +++ b/layer/SpectrumLayer.cpp Thu Dec 04 17:17:06 2008 +0000 @@ -49,7 +49,7 @@ { Model *m = const_cast<Model *> (static_cast<const Model *>(m_sliceableModel)); - m->aboutToDelete(); + if (m) m->aboutToDelete(); m_sliceableModel = 0; delete m; }