Mercurial > hg > svgui
diff widgets/PropertyBox.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | 1fe7951a61e8 |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp Thu May 12 17:31:43 2011 +0100 +++ b/widgets/PropertyBox.cpp Mon May 16 17:19:25 2011 +0100 @@ -148,7 +148,7 @@ layout->setMargin(layout->margin() / 2); #ifdef DEBUG_PROPERTY_BOX - std::cerr << "PropertyBox::populateViewPlayFrame: container " << m_container << " (name " << m_container->getPropertyContainerName() << ") params " << params << std::endl; + DEBUG << "PropertyBox::populateViewPlayFrame: container " << m_container << " (name " << m_container->getPropertyContainerName() << ") params " << params << endl; #endif if (layer) { @@ -530,7 +530,7 @@ if (pc != m_container) return; #ifdef DEBUG_PROPERTY_BOX - std::cerr << "PropertyBox::propertyContainerPropertyChanged" << std::endl; + DEBUG << "PropertyBox::propertyContainerPropertyChanged" << endl; #endif PropertyContainer::PropertyList properties = m_container->getProperties(); @@ -608,8 +608,7 @@ QString name = obj->objectName(); #ifdef DEBUG_PROPERTY_BOX - std::cerr << "PropertyBox::propertyControllerChanged(" << name.toStdString() - << ", " << value << ")" << std::endl; + DEBUG << "PropertyBox::propertyControllerChanged(" << name << ", " << value << ")" << endl; #endif PropertyContainer::PropertyType type = m_container->getPropertyType(name);