summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettings.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index 99fccf7..010e0af 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -84,26 +84,28 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl )
84#endif 84#endif
85 int sRate=cfg.readNumEntry("SizeLimit", 30); 85 int sRate=cfg.readNumEntry("SizeLimit", 30);
86 qDebug("%d",sRate); 86 qDebug("%d",sRate);
87 87
88 if(sRate ==30) 88 if(sRate ==30)
89 timeLimitComboBox->setCurrentItem(0); 89 timeLimitComboBox->setCurrentItem(0);
90 else if(sRate==20) 90 else if(sRate==20)
91 timeLimitComboBox->setCurrentItem(1); 91 timeLimitComboBox->setCurrentItem(1);
92 else if(sRate == 15) 92 else if(sRate == 15)
93 timeLimitComboBox->setCurrentItem(2); 93 timeLimitComboBox->setCurrentItem(2);
94 else if(sRate == 10) 94 else if(sRate == 10)
95 timeLimitComboBox->setCurrentItem(3); 95 timeLimitComboBox->setCurrentItem(3);
96 else 96 else if(sRate == 5)
97 timeLimitComboBox->setCurrentItem(4); 97 timeLimitComboBox->setCurrentItem(4);
98 else
99 timeLimitComboBox->setCurrentItem(5);
98 100
99 sixteenBitCheckBox->setChecked(cfg.readNumEntry("SixteenBit", 1)); 101 sixteenBitCheckBox->setChecked(cfg.readNumEntry("SixteenBit", 1));
100 102
101 cfg.setGroup("Defaults"); 103 cfg.setGroup("Defaults");
102 keyComboBox->setCurrentItem(cfg.readNumEntry("toggleKey") ); 104 keyComboBox->setCurrentItem(cfg.readNumEntry("toggleKey") );
103 105
104 updateStorageCombo(); 106 updateStorageCombo();
105 connect( LocationComboBox,SIGNAL(activated(const QString &)),this,SLOT( setLocation(const QString &))); 107 connect( LocationComboBox,SIGNAL(activated(const QString &)),this,SLOT( setLocation(const QString &)));
106 connect( keyComboBox,SIGNAL(activated(const QString &)),this,SLOT( setKeyButton(const QString &))); 108 connect( keyComboBox,SIGNAL(activated(const QString &)),this,SLOT( setKeyButton(const QString &)));
107 connect( timeLimitComboBox,SIGNAL(activated( const QString &)),this,SLOT( setSizeLimitButton(const QString &))); 109 connect( timeLimitComboBox,SIGNAL(activated( const QString &)),this,SLOT( setSizeLimitButton(const QString &)));
108// connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); 110// connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) );
109} 111}