Mercurial > hg > svgui
comparison widgets/LEDButton.cpp @ 587:4806715f7a19
Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author | Chris Cannam |
---|---|
date | Tue, 14 Jun 2011 15:27:05 +0100 |
parents | f4960f8ce798 |
children | 1a0dfcbffaf1 |
comparison
equal
deleted
inserted
replaced
586:1ae54a29e59e | 587:4806715f7a19 |
---|---|
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 DEBUG << "emitting new state " << newState << endl; | 102 SVDEBUG << "emitting new state " << newState << endl; |
103 emit stateChanged(newState); | 103 emit stateChanged(newState); |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
107 void | 107 void |