summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-08-12 06:21:42 (GMT)
committerMontel Laurent <montel@kde.org>2016-08-12 06:21:42 (GMT)
commitca0118a5390677902909dc610bd4b6d48e191cad (patch)
treef436fcb4a0ff6d3ab466c5aa7a107180ff151e62
parent104516e0ed797e39f1b5b91bdaf45edfde83e9c6 (diff)
Add messagebox to inform that emails was added
-rw-r--r--kmail/editorsendcheckplugins/confirm-address/confirmaddressdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmail/editorsendcheckplugins/confirm-address/confirmaddressdialog.cpp b/kmail/editorsendcheckplugins/confirm-address/confirmaddressdialog.cpp
index 6c273c2..7801432 100644
--- a/kmail/editorsendcheckplugins/confirm-address/confirmaddressdialog.cpp
+++ b/kmail/editorsendcheckplugins/confirm-address/confirmaddressdialog.cpp
@@ -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"));
}
}