summaryrefslogtreecommitdiff
path: root/noncore/net/mail/settingsdialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/mail/settingsdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/settingsdialog.cpp6
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,2 +1,2 @@
-#include <qradiobutton.h>
+#include <qcheckbox.h>
@@ -21,2 +21,4 @@ void SettingsDialog::readConfig() {
showHtmlButton->setChecked( cfg.readBoolEntry( "showHtml", false ) );
+ cfg.setGroup( "Compose" );
+ checkBoxLater->setChecked( cfg.readBoolEntry( "sendLater", false ) );
}
@@ -27,2 +29,4 @@ void SettingsDialog::writeConfig() {
cfg.writeEntry( "showHtml", showHtmlButton->isChecked() );
+ cfg.setGroup( "Compose" );
+ cfg.writeEntry( "sendLater", checkBoxLater->isChecked() );;