summaryrefslogtreecommitdiff
authorsandman <sandman>2002-09-30 21:10:05 (UTC)
committer sandman <sandman>2002-09-30 21:10:05 (UTC)
commitf49ad5cf3bdc1d1c06be4615a649b6be6f179b83 (patch) (unidiff)
tree77ad6928937375e116529fab2e5a746fce5ba936
parent3ff016b281a3c059e6ecb728c60fd6847756f291 (diff)
downloadopie-f49ad5cf3bdc1d1c06be4615a649b6be6f179b83.zip
opie-f49ad5cf3bdc1d1c06be4615a649b6be6f179b83.tar.gz
opie-f49ad5cf3bdc1d1c06be4615a649b6be6f179b83.tar.bz2
- small cleanup
- changed to work with the new ODevice API
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/volumeapplet/volume.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp
index eedc749..aec346b 100644
--- a/core/applets/volumeapplet/volume.cpp
+++ b/core/applets/volumeapplet/volume.cpp
@@ -47,2 +47,4 @@
47 47
48using namespace Opie;
49
48#define RATE_TIMER_INTERVAL 100 50#define RATE_TIMER_INTERVAL 100
@@ -188,5 +190,7 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa
188 switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually 190 switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually
189 case OMODEL_Zaurus_SL5000: 191 case Model_Zaurus_SL5000:
190 has_wav_alarm = false; //poor guys probably feeling left out... 192 has_wav_alarm = false; //poor guys probably feeling left out...
191 break; 193 break;
194 default:
195 break;
192 } 196 }
@@ -459,3 +463,3 @@ void VolumeControl::readConfig ( bool force )
459 463
460void VolumeControl::volumeChanged ( bool nowMuted ) 464void VolumeControl::volumeChanged ( bool /*nowMuted*/ )
461{ 465{