aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-16 11:08:16 +0000
committerSaturneric <[email protected]>2021-12-16 11:08:16 +0000
commite4f4eda6fe1e9012303798ab5e851fb829c68c37 (patch)
treea64c31577669c93e11b8932670d19d448d44d947 /src/ui/UserInterfaceUtils.cpp
parentAdded and Fixed Translation. (diff)
downloadGpgFrontend-e4f4eda6fe1e9012303798ab5e851fb829c68c37.tar.gz
GpgFrontend-e4f4eda6fe1e9012303798ab5e851fb829c68c37.zip
Fixed Project Configure.
Diffstat (limited to '')
-rw-r--r--src/ui/UserInterfaceUtils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index fafc8c6b..bd756c51 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -39,6 +39,7 @@ namespace GpgFrontend::UI {
std::unique_ptr<GpgFrontend::UI::CommonUtils>
GpgFrontend::UI::CommonUtils::_instance = nullptr;
+#ifdef SMTP_SUPPORT
void send_an_email(QWidget* parent, InfoBoardWidget* info_board,
const QString& text) {
info_board->addOptionalAction(_("Send Encrypted Mail"), [=]() {
@@ -59,6 +60,7 @@ void send_an_email(QWidget* parent, InfoBoardWidget* info_board,
}
});
}
+#endif
void show_verify_details(QWidget* parent, InfoBoardWidget* info_board,
GpgError error, const GpgVerifyResult& verify_result) {