diff widgets/LEDButton.cpp @ 585:f4960f8ce798 debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:25 +0100
parents d01f2e406cc5
children 4806715f7a19
line wrap: on
line diff
--- a/widgets/LEDButton.cpp	Thu May 12 17:31:43 2011 +0100
+++ b/widgets/LEDButton.cpp	Mon May 16 17:19:25 2011 +0100
@@ -99,7 +99,7 @@
     if (e->buttons() & Qt::LeftButton) {
 	toggle();
 	bool newState = state();
-	std::cerr << "emitting new state " << newState << std::endl;
+	DEBUG << "emitting new state " << newState << endl;
 	emit stateChanged(newState);
     }
 }