summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-18 18:36:06 (UTC)
committer sandman <sandman>2002-12-18 18:36:06 (UTC)
commit25dfde78e47780c3357f8e25d8c873131fbf446d (patch) (unidiff)
treea08974db59acb6809579ec264dfee4b76d9c7348
parent9471f69c44e811781ed9f643f5b84d7b459df601 (diff)
downloadopie-25dfde78e47780c3357f8e25d8c873131fbf446d.zip
opie-25dfde78e47780c3357f8e25d8c873131fbf446d.tar.gz
opie-25dfde78e47780c3357f8e25d8c873131fbf446d.tar.bz2
since Harlekin doesn't want to fix his typo, I'll have to do it ;)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/volumeapplet/volume.cpp2
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 );