removed unnecessary code

This commit is contained in:
Volker Fischer 2008-03-29 06:32:44 +00:00
parent 25161fa55a
commit 64857dc49a

View file

@ -112,8 +112,7 @@ void CMultiColorLED::UpdateColor()
{ {
if ( eColorFlag != RL_RED ) if ( eColorFlag != RL_RED )
{ {
//setPixmap ( BitmCubeRed ); emit newPixmap ( BitmCubeRed );
emit newPixmap ( BitmCubeRed );
eColorFlag = RL_RED; eColorFlag = RL_RED;
} }
return; return;
@ -123,8 +122,7 @@ emit newPixmap ( BitmCubeRed );
{ {
if ( eColorFlag != RL_YELLOW ) if ( eColorFlag != RL_YELLOW )
{ {
//setPixmap ( BitmCubeYellow ); emit newPixmap ( BitmCubeYellow );
emit newPixmap ( BitmCubeYellow );
eColorFlag = RL_YELLOW; eColorFlag = RL_YELLOW;
} }
return; return;
@ -134,8 +132,7 @@ emit newPixmap ( BitmCubeYellow );
{ {
if ( eColorFlag != RL_GREEN ) if ( eColorFlag != RL_GREEN )
{ {
//setPixmap ( BitmCubeGreen ); emit newPixmap ( BitmCubeGreen );
emit newPixmap ( BitmCubeGreen );
eColorFlag = RL_GREEN; eColorFlag = RL_GREEN;
} }
return; return;