diff widgets/LEDButton.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/LEDButton.cpp	Thu Apr 14 15:21:21 2011 +0100
+++ b/widgets/LEDButton.cpp	Tue Jun 14 14:48:29 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);
     }
 }