-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 @@ -174,15 +174,18 @@ void SoundSettings::setKeyButton(const QString &name) { cfg.write(); } void SoundSettings::updateLocationCombo() { } 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(); } |