Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
584:1fe7951a61e8 | 585:f4960f8ce798 |
---|---|
97 std::cerr << "LEDButton(" << this << ")::mousePressEvent" << std::endl; | 97 std::cerr << "LEDButton(" << this << ")::mousePressEvent" << std::endl; |
98 | 98 |
99 if (e->buttons() & Qt::LeftButton) { | 99 if (e->buttons() & Qt::LeftButton) { |
100 toggle(); | 100 toggle(); |
101 bool newState = state(); | 101 bool newState = state(); |
102 std::cerr << "emitting new state " << newState << std::endl; | 102 DEBUG << "emitting new state " << newState << endl; |
103 emit stateChanged(newState); | 103 emit stateChanged(newState); |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
107 void | 107 void |