summaryrefslogtreecommitdiff
path: root/core/launcher/taskbar.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/taskbar.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/taskbar.cpp7
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
@@ -37,6 +37,8 @@
#include <qpe/custom.h>
#endif
+#include <opie/odevice.h>
+
#include <qlabel.h>
#include <qlayout.h>
#include <qtimer.h>
@@ -269,13 +271,12 @@ void TaskBar::receive( const QCString &msg, const QByteArray &data )
} else if ( msg == "soundAlarm()" ) {
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
}
QWidget *TaskBar::calibrate(bool)