comparison widgets/LEDButton.cpp @ 706:97ea68f62c1f imaf_enc

Merge from default branch
author Chris Cannam
date Thu, 05 Dec 2013 09:47:02 +0000
parents 1a0dfcbffaf1
children 04337eb34f23
comparison
equal deleted inserted replaced
678:26c5f7fd4807 706:97ea68f62c1f
92 } 92 }
93 93
94 void 94 void
95 LEDButton::mousePressEvent(QMouseEvent *e) 95 LEDButton::mousePressEvent(QMouseEvent *e)
96 { 96 {
97 std::cerr << "LEDButton(" << this << ")::mousePressEvent" << std::endl; 97 cerr << "LEDButton(" << this << ")::mousePressEvent" << 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 SVDEBUG << "emitting new state " << newState << endl; 102 SVDEBUG << "emitting new state " << newState << endl;