Diffstat (limited to 'noncore/net/mail/settingsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/settingsdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/mail/settingsdialog.cpp b/noncore/net/mail/settingsdialog.cpp index 061ea72..6441948 100644 --- a/noncore/net/mail/settingsdialog.cpp +++ b/noncore/net/mail/settingsdialog.cpp | |||
@@ -38,7 +38,9 @@ void SettingsDialog::writeConfig() { | |||
38 | cfg.writeEntry( "sendLater", checkBoxLater->isChecked() ); | 38 | cfg.writeEntry( "sendLater", checkBoxLater->isChecked() ); |
39 | cfg.setGroup( "Applet" ); | 39 | cfg.setGroup( "Applet" ); |
40 | cfg.writeEntry( "Disabled", cbEnableTaskbarApplet->isChecked() ); | 40 | cfg.writeEntry( "Disabled", cbEnableTaskbarApplet->isChecked() ); |
41 | cfg.writeEntry( "CheckEvery", spCheckOften->value() ); | 41 | int check = spCheckOften->value(); |
42 | if (check<1)check=1;if (check>99)check=99; | ||
43 | cfg.writeEntry( "CheckEvery", check); | ||
42 | cfg.writeEntry( "BlinkLed", cbBlinkLed->isChecked() ); | 44 | cfg.writeEntry( "BlinkLed", cbBlinkLed->isChecked() ); |
43 | cfg.writeEntry( "PlaySound", cbPlaySound->isChecked() ); | 45 | cfg.writeEntry( "PlaySound", cbPlaySound->isChecked() ); |
44 | } | 46 | } |