author | sandman <sandman> | 2002-09-30 21:10:05 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-30 21:10:05 (UTC) |
commit | f49ad5cf3bdc1d1c06be4615a649b6be6f179b83 (patch) (side-by-side diff) | |
tree | 77ad6928937375e116529fab2e5a746fce5ba936 | |
parent | 3ff016b281a3c059e6ecb728c60fd6847756f291 (diff) | |
download | opie-f49ad5cf3bdc1d1c06be4615a649b6be6f179b83.zip opie-f49ad5cf3bdc1d1c06be4615a649b6be6f179b83.tar.gz opie-f49ad5cf3bdc1d1c06be4615a649b6be6f179b83.tar.bz2 |
- small cleanup
- changed to work with the new ODevice API
-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 8 |
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 @@ -46,4 +46,6 @@ #include "oledbox.h" +using namespace Opie; + #define RATE_TIMER_INTERVAL 100 // Ten times per second is fine (RATE_TIMER_INTERVAL 100). A shorter time @@ -187,7 +189,9 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually - case OMODEL_Zaurus_SL5000: + case Model_Zaurus_SL5000: has_wav_alarm = false; //poor guys probably feeling left out... break; + default: + break; } @@ -458,5 +462,5 @@ void VolumeControl::readConfig ( bool force ) -void VolumeControl::volumeChanged ( bool nowMuted ) +void VolumeControl::volumeChanged ( bool /*nowMuted*/ ) { int prevVol = m_vol_percent; |