-rw-r--r-- | core/applets/volumeapplet/volume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/applets/volumeapplet/volume.cpp b/core/applets/volumeapplet/volume.cpp index e066a83..ed07ec4 100644 --- a/core/applets/volumeapplet/volume.cpp +++ b/core/applets/volumeapplet/volume.cpp | |||
@@ -242,33 +242,33 @@ VolumeControl::VolumeControl ( VolumeApplet *icon, bool /*showMic*/, QWidget *pa | |||
242 | : QFrame ( parent, name, WStyle_StaysOnTop | WType_Popup ) | 242 | : QFrame ( parent, name, WStyle_StaysOnTop | WType_Popup ) |
243 | { | 243 | { |
244 | m_icon = icon; | 244 | m_icon = icon; |
245 | 245 | ||
246 | bool has_wav_alarm = true; | 246 | bool has_wav_alarm = true; |
247 | bool has_bass = true; | 247 | bool has_bass = true; |
248 | bool has_treble = true; | 248 | bool has_treble = true; |
249 | 249 | ||
250 | switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually | 250 | switch ( ODevice::inst ( )-> model ( )) { // we need to add other devices eventually |
251 | case Model_Zaurus_SL5000: | 251 | case Model_Zaurus_SL5000: |
252 | has_wav_alarm = false; //poor guys probably feeling left out... | 252 | has_wav_alarm = false; //poor guys probably feeling left out... |
253 | break; | 253 | break; |
254 | default: | 254 | default: |
255 | break; | 255 | break; |
256 | } | 256 | } |
257 | 257 | ||
258 | if ( !ODevice::series == Model_iPAQ ) { | 258 | if ( !ODevice::inst ( )-> series ( ) == Model_iPAQ ) { |
259 | has_bass = false; | 259 | has_bass = false; |
260 | has_treble = false; | 260 | has_treble = false; |
261 | } | 261 | } |
262 | 262 | ||
263 | 263 | ||
264 | setFrameStyle ( QFrame::PopupPanel | QFrame::Raised ); | 264 | setFrameStyle ( QFrame::PopupPanel | QFrame::Raised ); |
265 | 265 | ||
266 | QGridLayout *grid = new QGridLayout ( this, 1, 1, 6, 4 ); | 266 | QGridLayout *grid = new QGridLayout ( this, 1, 1, 6, 4 ); |
267 | grid-> setSpacing ( 4 ); | 267 | grid-> setSpacing ( 4 ); |
268 | grid-> setMargin ( 6 ); | 268 | grid-> setMargin ( 6 ); |
269 | 269 | ||
270 | QVBoxLayout *vbox; | 270 | QVBoxLayout *vbox; |
271 | QLabel *l; | 271 | QLabel *l; |
272 | 272 | ||
273 | vbox = new QVBoxLayout ( ); | 273 | vbox = new QVBoxLayout ( ); |
274 | vbox-> setSpacing ( 4 ); | 274 | vbox-> setSpacing ( 4 ); |