author | llornkcor <llornkcor> | 2002-06-23 18:41:55 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-23 18:41:55 (UTC) |
commit | 25fbcaaa768b83cf0518aced5a76479617959769 (patch) (side-by-side diff) | |
tree | 2071a23f30f600bacd0398c84a6fb81dff34ce8d | |
parent | 2e8b8787a154d9c783b752edb577b42b6e29fd6b (diff) | |
download | opie-25fbcaaa768b83cf0518aced5a76479617959769.zip opie-25fbcaaa768b83cf0518aced5a76479617959769.tar.gz opie-25fbcaaa768b83cf0518aced5a76479617959769.tar.bz2 |
reading correct config file
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index 3ceaf0c..759a469 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp @@ -77,5 +77,7 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl ) // else // stereoCheckBox->hide(); - int sRate=config.readNumEntry("SizeLimit", 30); + int sRate=cfg.readNumEntry("SizeLimit", 30); + qDebug("%d",sRate); + if(sRate ==30) timeLimitComboBox->setCurrentItem(0); @@ -85,5 +87,4 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl ) timeLimitComboBox->setCurrentItem(2); else if(sRate == 10) - timeLimitComboBox->setCurrentItem(3); else |