removed unnecessary code
This commit is contained in:
parent
25161fa55a
commit
64857dc49a
1 changed files with 3 additions and 6 deletions
|
@ -112,8 +112,7 @@ void CMultiColorLED::UpdateColor()
|
|||
{
|
||||
if ( eColorFlag != RL_RED )
|
||||
{
|
||||
//setPixmap ( BitmCubeRed );
|
||||
emit newPixmap ( BitmCubeRed );
|
||||
emit newPixmap ( BitmCubeRed );
|
||||
eColorFlag = RL_RED;
|
||||
}
|
||||
return;
|
||||
|
@ -123,8 +122,7 @@ emit newPixmap ( BitmCubeRed );
|
|||
{
|
||||
if ( eColorFlag != RL_YELLOW )
|
||||
{
|
||||
//setPixmap ( BitmCubeYellow );
|
||||
emit newPixmap ( BitmCubeYellow );
|
||||
emit newPixmap ( BitmCubeYellow );
|
||||
eColorFlag = RL_YELLOW;
|
||||
}
|
||||
return;
|
||||
|
@ -134,8 +132,7 @@ emit newPixmap ( BitmCubeYellow );
|
|||
{
|
||||
if ( eColorFlag != RL_GREEN )
|
||||
{
|
||||
//setPixmap ( BitmCubeGreen );
|
||||
emit newPixmap ( BitmCubeGreen );
|
||||
emit newPixmap ( BitmCubeGreen );
|
||||
eColorFlag = RL_GREEN;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue