summaryrefslogtreecommitdiff
path: root/noncore/settings/sound
authorllornkcor <llornkcor>2002-06-23 18:41:55 (UTC)
committer llornkcor <llornkcor>2002-06-23 18:41:55 (UTC)
commit25fbcaaa768b83cf0518aced5a76479617959769 (patch) (side-by-side diff)
tree2071a23f30f600bacd0398c84a6fb81dff34ce8d /noncore/settings/sound
parent2e8b8787a154d9c783b752edb577b42b6e29fd6b (diff)
downloadopie-25fbcaaa768b83cf0518aced5a76479617959769.zip
opie-25fbcaaa768b83cf0518aced5a76479617959769.tar.gz
opie-25fbcaaa768b83cf0518aced5a76479617959769.tar.bz2
reading correct config file
Diffstat (limited to 'noncore/settings/sound') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettings.cpp5
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
@@ -76,7 +76,9 @@ 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);
else if(sRate==20)
@@ -84,7 +86,6 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl )
else if(sRate == 15)
timeLimitComboBox->setCurrentItem(2);
else if(sRate == 10)
-
timeLimitComboBox->setCurrentItem(3);
else
timeLimitComboBox->setCurrentItem(4);