aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/smtp/SendMailDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-14 17:49:05 +0000
committerSaturneric <[email protected]>2021-12-14 17:49:05 +0000
commit66cd551c8ba7152d4af4aafca41b44d94a7f6bae (patch)
treeee1d44951edfd9d2c74186aedbc2d071b5ec1a28 /src/ui/smtp/SendMailDialog.cpp
parentModified Core to Optimization & Fixed Problem (diff)
downloadGpgFrontend-66cd551c8ba7152d4af4aafca41b44d94a7f6bae.tar.gz
GpgFrontend-66cd551c8ba7152d4af4aafca41b44d94a7f6bae.zip
SMTP Support Added.
Diffstat (limited to '')
-rw-r--r--src/ui/smtp/SendMailDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/smtp/SendMailDialog.cpp b/src/ui/smtp/SendMailDialog.cpp
index 7c8933a0..40939242 100644
--- a/src/ui/smtp/SendMailDialog.cpp
+++ b/src/ui/smtp/SendMailDialog.cpp
@@ -26,7 +26,7 @@
#include <utility>
-#ifdef STMP_ENABLED
+#ifdef SMTP_SUPPORT
#include "smtp/SmtpMime"
#endif
@@ -72,7 +72,7 @@ SendMailDialog::SendMailDialog(QString text, QWidget* parent)
layout->addWidget(confirmButton, 3, 1);
layout->addWidget(errorLabel, 4, 0, 1, 2);
-#ifdef STMP_ENABLED
+#ifdef SMTP_SUPPORT
connect(confirmButton, SIGNAL(clicked(bool)), this, SLOT(slotConfirm()));
#endif
@@ -87,7 +87,7 @@ bool SendMailDialog::check_email_address(const QString& str) {
return re_email.match(str).hasMatch();
}
-#ifdef STMP_ENABLED
+#ifdef SMTP_SUPPORT
void SendMailDialog::slotConfirm() {
QString errString;