author | llornkcor <llornkcor> | 2002-06-25 02:34:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-25 02:34:47 (UTC) |
commit | 6a11f8d2391d28b921ead3872c7af84453946629 (patch) (side-by-side diff) | |
tree | bc06ed3c1e937d444361feb44938a00bb1f9bbc4 | |
parent | 4bf0efd9f4c6963b48be4a7b836a3c1c46431814 (diff) | |
download | opie-6a11f8d2391d28b921ead3872c7af84453946629.zip opie-6a11f8d2391d28b921ead3872c7af84453946629.tar.gz opie-6a11f8d2391d28b921ead3872c7af84453946629.tar.bz2 |
added zaurus, and made has_wav_alarm the default as zaurus is special case, because it has a non standard alarm/speaker
-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 @@ -184,16 +184,20 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa 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; } |