summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-23 18:41:55 (UTC)
committer llornkcor <llornkcor>2002-06-23 18:41:55 (UTC)
commit25fbcaaa768b83cf0518aced5a76479617959769 (patch) (unidiff)
tree2071a23f30f600bacd0398c84a6fb81dff34ce8d
parent2e8b8787a154d9c783b752edb577b42b6e29fd6b (diff)
downloadopie-25fbcaaa768b83cf0518aced5a76479617959769.zip
opie-25fbcaaa768b83cf0518aced5a76479617959769.tar.gz
opie-25fbcaaa768b83cf0518aced5a76479617959769.tar.bz2
reading correct config file
Diffstat (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 )
76 } 76 }
77// else 77// else
78// stereoCheckBox->hide(); 78// stereoCheckBox->hide();
79 int sRate=config.readNumEntry("SizeLimit", 30); 79 int sRate=cfg.readNumEntry("SizeLimit", 30);
80 qDebug("%d",sRate);
81
80 if(sRate ==30) 82 if(sRate ==30)
81 timeLimitComboBox->setCurrentItem(0); 83 timeLimitComboBox->setCurrentItem(0);
82 else if(sRate==20) 84 else if(sRate==20)
@@ -84,7 +86,6 @@ SoundSettings::SoundSettings( QWidget* parent, const char* objname, WFlags fl )
84 else if(sRate == 15) 86 else if(sRate == 15)
85 timeLimitComboBox->setCurrentItem(2); 87 timeLimitComboBox->setCurrentItem(2);
86 else if(sRate == 10) 88 else if(sRate == 10)
87
88 timeLimitComboBox->setCurrentItem(3); 89 timeLimitComboBox->setCurrentItem(3);
89 else 90 else
90 timeLimitComboBox->setCurrentItem(4); 91 timeLimitComboBox->setCurrentItem(4);