diff widgets/PluginParameterBox.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/PluginParameterBox.cpp	Thu May 12 17:31:43 2011 +0100
+++ b/widgets/PluginParameterBox.cpp	Mon May 16 17:19:25 2011 +0100
@@ -258,7 +258,7 @@
         newValue = min + ival * qtz;
     }
 
-//    std::cerr << "PluginParameterBox::dialChanged: newValue = " << newValue << std::endl;
+//    DEBUG << "PluginParameterBox::dialChanged: newValue = " << newValue << endl;
 
     QDoubleSpinBox *spin = m_params[identifier].spin;
     if (spin) {
@@ -267,7 +267,7 @@
         spin->blockSignals(false);
     }
 
-//    std::cerr << "setting plugin parameter \"" << identifier << "\" to value " << newValue << std::endl;
+//    DEBUG << "setting plugin parameter \"" << identifier << "\" to value " << newValue << endl;
 
     m_plugin->setParameter(identifier.toStdString(), newValue);
 
@@ -352,7 +352,7 @@
         dial->blockSignals(false);
     }
 
-    std::cerr << "setting plugin parameter \"" << identifier << "\" to value " << value << std::endl;
+    DEBUG << "setting plugin parameter \"" << identifier << "\" to value " << value << endl;
 
     m_plugin->setParameter(identifier.toStdString(), value);