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

Add messagebox to inform that emails was added

parent 104516e0
......@@ -25,6 +25,7 @@
#include <QDialogButtonBox>
#include <QVBoxLayout>
#include <QPushButton>
#include <KMessageBox>
ConfirmAddressDialog::ConfirmAddressDialog(QWidget *parent)
: QDialog(parent),
......@@ -94,5 +95,6 @@ void ConfirmAddressDialog::slotWhiteListSelectedEmails()
const QStringList whiteListEmails = mConfirmWidget->whiteListSelectedEmails();
if (!whiteListEmails.isEmpty()) {
Q_EMIT addWhileListEmails(whiteListEmails, mCurrentIdentity);
KMessageBox::information(this, i18n("All selected emails are added to white list"), i18n("Emails added to white list"));
Supports Markdown
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