-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(); } |