summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -170,19 +170,22 @@ void SoundSettings::setKeyButton(const QString &name) {
cfg.writeEntry( "hideIcon", 0 );
else
cfg.writeEntry( "hideIcon", 1);
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();
}