Mercurial > hg > svgui
diff widgets/LayerTree.cpp @ 586:1ae54a29e59e
Merge from debug-output branch
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 14:48:29 +0100 |
parents | f4960f8ce798 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/widgets/LayerTree.cpp Thu Apr 14 15:21:21 2011 +0100 +++ b/widgets/LayerTree.cpp Tue Jun 14 14:48:29 2011 +0100 @@ -111,7 +111,7 @@ m_models.erase(*i); } - std::cerr << "ModelMetadataModel::rebuildModelSet: " << m_models.size() << " models" << std::endl; + DEBUG << "ModelMetadataModel::rebuildModelSet: " << m_models.size() << " models" << endl; } void @@ -371,8 +371,8 @@ PlayParameters *params = dynamic_cast<PlayParameters *>(sender()); if (!params) return; - std::cerr << "LayerTreeModel::playParametersAudibilityChanged(" - << params << "," << a << ")" << std::endl; + DEBUG << "LayerTreeModel::playParametersAudibilityChanged(" + << params << "," << a << ")" << endl; for (int i = 0; i < m_stack->getPaneCount(); ++i) { Pane *pane = m_stack->getPane(i); @@ -381,8 +381,8 @@ Layer *layer = pane->getLayer(j); if (!layer) continue; if (layer->getPlayParameters() == params) { - std::cerr << "LayerTreeModel::playParametersAudibilityChanged(" - << params << "," << a << "): row " << pane->getLayerCount() - j - 1 << ", col " << 2 << std::endl; + DEBUG << "LayerTreeModel::playParametersAudibilityChanged(" + << params << "," << a << "): row " << pane->getLayerCount() - j - 1 << ", col " << 2 << endl; emit dataChanged(createIndex(pane->getLayerCount() - j - 1, m_layerPlayedColumn, pane),