summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-07-26 00:48:09 (UTC)
committer llornkcor <llornkcor>2002-07-26 00:48:09 (UTC)
commitf3678966b4f08e9cc99b5f625c028e6f2d29a8ae (patch) (unidiff)
treea9d3b94d3768d288f2de47660f55c56e4c3d6a07
parentcf32a5b8d6886b357d0f4a6ecdc5b10f78a6a041 (diff)
downloadopie-f3678966b4f08e9cc99b5f625c028e6f2d29a8ae.zip
opie-f3678966b4f08e9cc99b5f625c028e6f2d29a8ae.tar.gz
opie-f3678966b4f08e9cc99b5f625c028e6f2d29a8ae.tar.bz2
really fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettings.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index 010e0af..cddb478 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -162,27 +162,30 @@ void SoundSettings::cleanUp() {
162} 162}
163 163
164void SoundSettings::setKeyButton(const QString &name) { 164void SoundSettings::setKeyButton(const QString &name) {
165 Config cfg("Vmemo"); 165 Config cfg("Vmemo");
166 cfg.setGroup("Defaults"); 166 cfg.setGroup("Defaults");
167 cfg.writeEntry( "toggleKey", keyComboBox->currentItem() ); 167 cfg.writeEntry( "toggleKey", keyComboBox->currentItem() );
168 keyReset = TRUE; 168 keyReset = TRUE;
169 if(keyComboBox->currentItem() == 1) 169 if(keyComboBox->currentItem() == 1)
170 cfg.writeEntry( "hideIcon", 0 ); 170 cfg.writeEntry( "hideIcon", 0 );
171 else 171 else
172 cfg.writeEntry( "hideIcon", 1); 172 cfg.writeEntry( "hideIcon", 1);
173 173
174 174
175 cfg.write(); 175 cfg.write();
176} 176}
177 177
178void SoundSettings::updateLocationCombo() { 178void SoundSettings::updateLocationCombo() {
179 179
180} 180}
181 181
182void SoundSettings::setSizeLimitButton(const QString &index) { 182void SoundSettings::setSizeLimitButton(const QString &index) {
183 183
184 Config cfg("Vmemo"); 184 Config cfg("Vmemo");
185 cfg.setGroup("Record"); 185 cfg.setGroup("Record");
186 cfg.writeEntry("SizeLimit", index); 186 if(index.find("Unlimited",0,TRUE) != -1)
187 cfg.writeEntry("SizeLimit", -1);
188 else
189 cfg.writeEntry("SizeLimit", index);
187 cfg.write(); 190 cfg.write();
188} 191}