aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/SMTPTestThread.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-02 23:40:04 +0000
committerSaturneric <[email protected]>2022-01-02 23:40:04 +0000
commit586b7a5211124bed6011ac71e9be51c26a542865 (patch)
tree92b9d81b6f76b2ca127221db39f9edb27e4f70cf /src/ui/function/SMTPTestThread.h
parent<refactor>(ui): take operations apart from key details. (diff)
downloadGpgFrontend-586b7a5211124bed6011ac71e9be51c26a542865.tar.gz
GpgFrontend-586b7a5211124bed6011ac71e9be51c26a542865.zip
<refactor>(ui): Enhanced sending email function.
Diffstat (limited to '')
-rw-r--r--src/ui/function/SMTPTestThread.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/function/SMTPTestThread.h b/src/ui/function/SMTPTestThread.h
index e2f2048d..db61d97d 100644
--- a/src/ui/function/SMTPTestThread.h
+++ b/src/ui/function/SMTPTestThread.h
@@ -32,6 +32,7 @@
#endif
#include "ui/GpgFrontendUI.h"
+namespace GpgFrontend::UI {
class SMTPTestThread : public QThread {
Q_OBJECT
@@ -46,9 +47,7 @@ class SMTPTestThread : public QThread {
connection_type_(connection_type),
identify_(identify),
username_(std::move(username)),
- password_(std::move(password)) {
-
- }
+ password_(std::move(password)) {}
signals:
void signalSMTPTestResult(const QString& result);
@@ -66,4 +65,6 @@ class SMTPTestThread : public QThread {
std::string password_;
};
+} // namespace GpgFrontend::UI
+
#endif // GPGFRONTEND_SMTPTESTTHREAD_H