author | llornkcor <llornkcor> | 2002-06-25 02:34:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-25 02:34:47 (UTC) |
commit | 6a11f8d2391d28b921ead3872c7af84453946629 (patch) (unidiff) | |
tree | bc06ed3c1e937d444361feb44938a00bb1f9bbc4 /core/applets/volumeapplet | |
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 | |||
@@ -185,14 +185,18 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa | |||
185 | 185 | ||
186 | bool has_wav_alarm = false; | 186 | bool has_wav_alarm = false; |
187 | 187 | ||
188 | switch ( ODevice::inst ( )-> model ( )) { | 188 | switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually |
189 | case OMODEL_iPAQ_H31xx: | 189 | case OMODEL_iPAQ_H31xx: |
190 | case OMODEL_iPAQ_H36xx: | 190 | case OMODEL_iPAQ_H36xx: |
191 | case OMODEL_iPAQ_H37xx: | 191 | case OMODEL_iPAQ_H37xx: |
192 | case OMODEL_iPAQ_H38xx: | 192 | case OMODEL_iPAQ_H38xx: |
193 | has_wav_alarm = true; | 193 | has_wav_alarm = true; |
194 | break; | 194 | break; |
195 | case OMODEL_Zaurus_SL5000: | ||
196 | has_wav_alarm = false; //poor guys probably feeling left out... | ||
197 | break; | ||
195 | default: | 198 | default: |
199 | has_wav_alarm = true; //lets just presume | ||
196 | break; | 200 | break; |
197 | } | 201 | } |
198 | 202 | ||