Mercurial > hg > svapp
diff framework/SVFileReader.cpp @ 79:b1a68403714b
* Further model lifecycle fixes
author | Chris Cannam |
---|---|
date | Thu, 24 Jan 2008 11:03:59 +0000 |
parents | 58bfaaed07ed |
children | 1fa8d5e28d0f |
line wrap: on
line diff
--- a/framework/SVFileReader.cpp Wed Jan 23 18:09:50 2008 +0000 +++ b/framework/SVFileReader.cpp Thu Jan 24 11:03:59 2008 +0000 @@ -308,7 +308,15 @@ ModelTransformer::Input(m_currentTransformSource, m_currentTransformChannel), message); - //!!! do something with message + if (!m_currentDerivedModel) { + emit modelRegenerationFailed(tr("(derived model in SV-XML)"), + m_currentTransform.getIdentifier(), + message); + } else if (message != "") { + emit modelRegenerationWarning(tr("(derived model in SV-XML)"), + m_currentTransform.getIdentifier(), + message); + } } } else { m_document->addDerivedModel