Diffstat (limited to 'noncore/net/mail/settingsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/settingsdialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/mail/settingsdialog.cpp b/noncore/net/mail/settingsdialog.cpp index 9741e94..f9de405 100644 --- a/noncore/net/mail/settingsdialog.cpp +++ b/noncore/net/mail/settingsdialog.cpp | |||
@@ -1,4 +1,4 @@ | |||
1 | #include <qradiobutton.h> | 1 | #include <qcheckbox.h> |
2 | 2 | ||
3 | #include <qpe/config.h> | 3 | #include <qpe/config.h> |
4 | 4 | ||
@@ -19,12 +19,16 @@ void SettingsDialog::readConfig() { | |||
19 | Config cfg("mail"); | 19 | Config cfg("mail"); |
20 | cfg.setGroup( "Settings" ); | 20 | cfg.setGroup( "Settings" ); |
21 | showHtmlButton->setChecked( cfg.readBoolEntry( "showHtml", false ) ); | 21 | showHtmlButton->setChecked( cfg.readBoolEntry( "showHtml", false ) ); |
22 | cfg.setGroup( "Compose" ); | ||
23 | checkBoxLater->setChecked( cfg.readBoolEntry( "sendLater", false ) ); | ||
22 | } | 24 | } |
23 | 25 | ||
24 | void SettingsDialog::writeConfig() { | 26 | void SettingsDialog::writeConfig() { |
25 | Config cfg( "mail" ); | 27 | Config cfg( "mail" ); |
26 | cfg.setGroup( "Settings" ); | 28 | cfg.setGroup( "Settings" ); |
27 | cfg.writeEntry( "showHtml", showHtmlButton->isChecked() ); | 29 | cfg.writeEntry( "showHtml", showHtmlButton->isChecked() ); |
30 | cfg.setGroup( "Compose" ); | ||
31 | cfg.writeEntry( "sendLater", checkBoxLater->isChecked() );; | ||
28 | 32 | ||
29 | } | 33 | } |
30 | 34 | ||