Commit acc0f9cb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Save/load settings

parent a43fc813
Pipeline #66912 passed with stage
in 23 minutes and 30 seconds
......@@ -38,12 +38,11 @@ MailMergeConfigureDialog::MailMergeConfigureDialog(QWidget *parent)
connect(buttonBox, &QDialogButtonBox::rejected, this, &MailMergeConfigureDialog::reject);
mWidget->setObjectName(QStringLiteral("mailmergewidget"));
// connect(mWidget, &SendLaterWidget::sendNow, this, &SendLaterConfigureDialog::sendNow);
mainLayout->addWidget(mWidget);
mainLayout->addWidget(buttonBox);
connect(okButton, &QPushButton::clicked, this, &MailMergeConfigureDialog::slotSave);
// readConfig();
readConfig();
KAboutData aboutData = KAboutData(QStringLiteral("mailmergeagent"),
i18n("Mail Merge Agent"),
......@@ -66,6 +65,7 @@ MailMergeConfigureDialog::MailMergeConfigureDialog(QWidget *parent)
MailMergeConfigureDialog::~MailMergeConfigureDialog()
{
writeConfig();
}
void MailMergeConfigureDialog::slotSave()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment