From 64857dc49af3d7d48e713a4c14644ced7aa570dd Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sat, 29 Mar 2008 06:32:44 +0000 Subject: [PATCH] removed unnecessary code --- src/multicolorled.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/multicolorled.cpp b/src/multicolorled.cpp index 77bd2423..dadf12f7 100755 --- a/src/multicolorled.cpp +++ b/src/multicolorled.cpp @@ -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;