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 )
|
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;
|
||||||
|
|
Loading…
Reference in a new issue