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

Add \n

parent e666c1ea
......@@ -24,13 +24,14 @@ ValidateSendMailShortcut::~ValidateSendMailShortcut() = default;
bool ValidateSendMailShortcut::validate()
{
bool sendNow = false;
const int result = PIMMessageBox::fourBtnMsgBox(mParent,
QMessageBox::Question,
i18n("This shortcut allows to send mail directly. Mail can be send accidentally. What do you want to do?"),
i18n("Configure shortcut"),
i18n("Remove Shortcut"),
i18n("Ask Before Sending"),
i18n("Sending Without Confirmation"));
const int result =
PIMMessageBox::fourBtnMsgBox(mParent,
QMessageBox::Question,
i18n("This shortcut allows to send mail directly.\nMail can be send accidentally.\nWhat do you want to do?"),
i18n("Configure shortcut"),
i18n("Remove Shortcut"),
i18n("Ask Before Sending"),
i18n("Sending Without Confirmation"));
if (result == QDialogButtonBox::Yes) {
QAction *act = mActionCollection->action(QStringLiteral("send_mail"));
if (act) {
......
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