-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 3 |
1 files changed, 3 insertions, 0 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,4 +184,7 @@ void SoundSettings::setSizeLimitButton(const QString &index) { | |||
184 | Config cfg("Vmemo"); | 184 | Config cfg("Vmemo"); |
185 | cfg.setGroup("Record"); | 185 | cfg.setGroup("Record"); |
186 | if(index.find("Unlimited",0,TRUE) != -1) | ||
187 | cfg.writeEntry("SizeLimit", -1); | ||
188 | else | ||
186 | cfg.writeEntry("SizeLimit", index); | 189 | cfg.writeEntry("SizeLimit", index); |
187 | cfg.write(); | 190 | cfg.write(); |