Mercurial > hg > svapp
comparison 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 |
comparison
equal
deleted
inserted
replaced
78:58bfaaed07ed | 79:b1a68403714b |
---|---|
306 m_document->addDerivedModel | 306 m_document->addDerivedModel |
307 (m_currentTransform, | 307 (m_currentTransform, |
308 ModelTransformer::Input(m_currentTransformSource, | 308 ModelTransformer::Input(m_currentTransformSource, |
309 m_currentTransformChannel), | 309 m_currentTransformChannel), |
310 message); | 310 message); |
311 //!!! do something with message | 311 if (!m_currentDerivedModel) { |
312 emit modelRegenerationFailed(tr("(derived model in SV-XML)"), | |
313 m_currentTransform.getIdentifier(), | |
314 message); | |
315 } else if (message != "") { | |
316 emit modelRegenerationWarning(tr("(derived model in SV-XML)"), | |
317 m_currentTransform.getIdentifier(), | |
318 message); | |
319 } | |
312 } | 320 } |
313 } else { | 321 } else { |
314 m_document->addDerivedModel | 322 m_document->addDerivedModel |
315 (m_currentTransform, | 323 (m_currentTransform, |
316 ModelTransformer::Input(m_currentTransformSource, | 324 ModelTransformer::Input(m_currentTransformSource, |