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

Don't show dialogbox now we have a new widget in kmail.

Fix crash bug #443669

CCBUG: 443669
parent 938ebcec
Pipeline #88672 passed with stage
in 41 minutes and 55 seconds
......@@ -24,7 +24,7 @@ set(KMAILTRANSPORT_LIB_VERSION "5.18.40")
set(KMBOX_LIB_VERSION "5.18.40")
set(KMIME_LIB_VERSION "5.18.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.18.40")
set(LIBKDEPIM_LIB_VERSION "5.18.40")
set(LIBKDEPIM_LIB_VERSION "5.18.41")
set(LIBKLEO_LIB_VERSION "5.18.40")
set(PIMCOMMON_LIB_VERSION "5.18.40")
set(GPGME_LIB_VERSION "1.13.1")
......
......@@ -99,7 +99,7 @@ RecipientsEditor::~RecipientsEditor() = default;
bool RecipientsEditor::addRecipient(const QString &recipient, Recipient::Type type)
{
return addData(Recipient::Ptr(new Recipient(recipient, type)));
return addData(Recipient::Ptr(new Recipient(recipient, type)), false);
}
void RecipientsEditor::addRecipient(RecipientLineNG *line, const QString &recipient)
......@@ -346,7 +346,7 @@ void RecipientsEditor::slotCalculateTotal()
}
// We always want at least one empty line
if (empty == 0) {
addData();
addData({}, false);
}
int count = 0;
const auto linesP{lines()};
......
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