author | alwin <alwin> | 2005-03-12 18:25:40 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-12 18:25:40 (UTC) |
commit | 9dddeb81d7db5da718f3f467bb1511b7e72b9caa (patch) (unidiff) | |
tree | 4ebb3ca0a3c13d5c6229429a530480e0737a1713 | |
parent | f195cfb8a11a0b5ef6fd397cc835af59b4266c8c (diff) | |
download | opie-9dddeb81d7db5da718f3f467bb1511b7e72b9caa.zip opie-9dddeb81d7db5da718f3f467bb1511b7e72b9caa.tar.gz opie-9dddeb81d7db5da718f3f467bb1511b7e72b9caa.tar.bz2 |
check range for aplett timeout
-rw-r--r-- | noncore/net/mail/settingsdialog.cpp | 4 | ||||
-rw-r--r-- | noncore/net/mail/settingsdialogui.ui | 6 |
2 files changed, 8 insertions, 2 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 | |||
@@ -37,9 +37,11 @@ void SettingsDialog::writeConfig() { | |||
37 | cfg.setGroup( "Compose" ); | 37 | cfg.setGroup( "Compose" ); |
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 | } |
45 | 47 | ||
diff --git a/noncore/net/mail/settingsdialogui.ui b/noncore/net/mail/settingsdialogui.ui index 13b8e05..4acd84a 100644 --- a/noncore/net/mail/settingsdialogui.ui +++ b/noncore/net/mail/settingsdialogui.ui | |||
@@ -10,9 +10,9 @@ | |||
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>316</width> | 14 | <width>312</width> |
15 | <height>379</height> | 15 | <height>379</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
@@ -207,8 +207,12 @@ | |||
207 | <name>suffix</name> | 207 | <name>suffix</name> |
208 | <string> min</string> | 208 | <string> min</string> |
209 | </property> | 209 | </property> |
210 | <property stdset="1"> | 210 | <property stdset="1"> |
211 | <name>minValue</name> | ||
212 | <number>1</number> | ||
213 | </property> | ||
214 | <property stdset="1"> | ||
211 | <name>value</name> | 215 | <name>value</name> |
212 | <number>5</number> | 216 | <number>5</number> |
213 | </property> | 217 | </property> |
214 | </widget> | 218 | </widget> |