author | llornkcor <llornkcor> | 2002-07-26 00:48:09 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-26 00:48:09 (UTC) |
commit | f3678966b4f08e9cc99b5f625c028e6f2d29a8ae (patch) (side-by-side diff) | |
tree | a9d3b94d3768d288f2de47660f55c56e4c3d6a07 | |
parent | cf32a5b8d6886b357d0f4a6ecdc5b10f78a6a041 (diff) | |
download | opie-f3678966b4f08e9cc99b5f625c028e6f2d29a8ae.zip opie-f3678966b4f08e9cc99b5f625c028e6f2d29a8ae.tar.gz opie-f3678966b4f08e9cc99b5f625c028e6f2d29a8ae.tar.bz2 |
really fix
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 5 |
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 @@ -184,5 +184,8 @@ void SoundSettings::setSizeLimitButton(const QString &index) { Config cfg("Vmemo"); cfg.setGroup("Record"); - cfg.writeEntry("SizeLimit", index); + if(index.find("Unlimited",0,TRUE) != -1) + cfg.writeEntry("SizeLimit", -1); + else + cfg.writeEntry("SizeLimit", index); cfg.write(); } |