-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 @@ | |||
46 | #include "oledbox.h" | 46 | #include "oledbox.h" |
47 | 47 | ||
48 | using namespace Opie; | ||
49 | |||
48 | #define RATE_TIMER_INTERVAL 100 | 50 | #define RATE_TIMER_INTERVAL 100 |
49 | // Ten times per second is fine (RATE_TIMER_INTERVAL 100). A shorter time | 51 | // 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 | |||
187 | 189 | ||
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 | } |
193 | 197 | ||
@@ -458,5 +462,5 @@ void VolumeControl::readConfig ( bool force ) | |||
458 | 462 | ||
459 | 463 | ||
460 | void VolumeControl::volumeChanged ( bool nowMuted ) | 464 | void VolumeControl::volumeChanged ( bool /*nowMuted*/ ) |
461 | { | 465 | { |
462 | int prevVol = m_vol_percent; | 466 | int prevVol = m_vol_percent; |