Mercurial > hg > svapp
diff framework/Document.cpp @ 132:3b61a975b47e sv1-v1.3 sv1-v1.3rc1
* Updates for 1.3
author | Chris Cannam |
---|---|
date | Thu, 10 Jul 2008 12:50:56 +0000 |
parents | e54dff673096 |
children | 6d2e49c59b3b |
line wrap: on
line diff
--- a/framework/Document.cpp Mon Jul 07 17:16:18 2008 +0000 +++ b/framework/Document.cpp Thu Jul 10 12:50:56 2008 +0000 @@ -581,8 +581,10 @@ m_layers.erase(layer); +#ifdef DEBUG_DOCUMENT std::cerr << "Document::deleteLayer: Removing, now have " << m_layers.size() << " layers" << std::endl; +#endif releaseModel(layer->getModel()); emit layerRemoved(layer); @@ -607,7 +609,7 @@ Model *previousModel = layer->getModel(); if (previousModel == model) { - std::cerr << "WARNING: Document::setModel: Layer " << layer << " (\"" + std::cerr << "NOTE: Document::setModel: Layer " << layer << " (\"" << layer->objectName().toStdString() << "\") is already set to model " << model << " (\""