diff options
author | Saturneric <[email protected]> | 2021-11-28 04:35:01 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-11-28 04:35:01 +0000 |
commit | b5b3ba7b1dc52a8dbae2a3a6970b44ede827f060 (patch) | |
tree | 7dffd4f4e6684d078616d88999590b95e8a56410 /src/ui/smtp/SendMailDialog.cpp | |
parent | UI Framework Modified. (diff) | |
download | GpgFrontend-b5b3ba7b1dc52a8dbae2a3a6970b44ede827f060.tar.gz GpgFrontend-b5b3ba7b1dc52a8dbae2a3a6970b44ede827f060.zip |
Can be compiled with minimal UI support.
Diffstat (limited to '')
-rw-r--r-- | src/ui/smtp/SendMailDialog.cpp (renamed from src/ui/SendMailDialog.cpp) | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/SendMailDialog.cpp b/src/ui/smtp/SendMailDialog.cpp index e140ca87..51ece6c9 100644 --- a/src/ui/SendMailDialog.cpp +++ b/src/ui/smtp/SendMailDialog.cpp @@ -22,7 +22,7 @@ * */ -#include "ui/SendMailDialog.h" +#include "SendMailDialog.h" #include <utility> @@ -149,8 +149,7 @@ void SendMailDialog::slotConfirm() { message.setSender(new EmailAddress(senderEdit->text())); for (const auto& reci : rcptStringList) { - if (!reci.isEmpty()) - message.addRecipient(new EmailAddress(reci.trimmed())); + if (!reci.isEmpty()) message.addRecipient(new EmailAddress(reci.trimmed())); } message.setSubject(subjectEdit->text()); |