-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index a000087..b047877 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp @@ -182,20 +182,24 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa : QFrame ( parent, name, WStyle_StaysOnTop | WType_Popup ) { m_icon = icon; bool has_wav_alarm = false; - switch ( ODevice::inst ( )-> model ( )) { + switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually case OMODEL_iPAQ_H31xx: case OMODEL_iPAQ_H36xx: case OMODEL_iPAQ_H37xx: case OMODEL_iPAQ_H38xx: has_wav_alarm = true; break; + case OMODEL_Zaurus_SL5000: + has_wav_alarm = false; //poor guys probably feeling left out... + break; default: + has_wav_alarm = true; //lets just presume break; } setFrameStyle ( QFrame::PopupPanel | QFrame::Raised ); |