-rw-r--r-- | core/launcher/taskbar.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/launcher/taskbar.cpp b/core/launcher/taskbar.cpp index 5e95c99..e38b9fe 100644 --- a/core/launcher/taskbar.cpp +++ b/core/launcher/taskbar.cpp @@ -38,4 +38,6 @@ #endif +#include <opie/odevice.h> + #include <qlabel.h> #include <qlayout.h> @@ -270,11 +272,10 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data ) Desktop::soundAlarm(); } -#ifdef CUSTOM_LEDS else if ( msg == "setLed(int,bool)" ) { int led, status; stream >> led >> status; - CUSTOM_LEDS( led, status ); + + ODevice::inst ( )-> setLed ( led, status ? OLED_BlinkSlow : OLED_Off ); } -#endif } |