summaryrefslogtreecommitdiff
path: root/core/applets/volumeapplet
authorllornkcor <llornkcor>2002-06-25 02:34:47 (UTC)
committer llornkcor <llornkcor>2002-06-25 02:34:47 (UTC)
commit6a11f8d2391d28b921ead3872c7af84453946629 (patch) (side-by-side diff)
treebc06ed3c1e937d444361feb44938a00bb1f9bbc4 /core/applets/volumeapplet
parent4bf0efd9f4c6963b48be4a7b836a3c1c46431814 (diff)
downloadopie-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
Diffstat (limited to 'core/applets/volumeapplet') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/volumeapplet/volume.cpp6
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
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;
}