aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/smtp/SendMailDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-03 20:24:01 +0000
committerSaturneric <[email protected]>2022-01-03 20:24:01 +0000
commit5cc72a35de7128ed586830eb90f705fc3ee3cbbf (patch)
tree845bf1472f1da1dbea8efe7d0b977cfcbb493e01 /src/ui/smtp/SendMailDialog.cpp
parent<fix, feature>(core, ui): add key in smart card support. (diff)
downloadGpgFrontend-5cc72a35de7128ed586830eb90f705fc3ee3cbbf.tar.gz
GpgFrontend-5cc72a35de7128ed586830eb90f705fc3ee3cbbf.zip
<fix, feature>(core, ui): key package import.
1. use gpgme_op_export_keys as multiply keys export. 2. improve ui. 3. write key package import done.
Diffstat (limited to '')
-rw-r--r--src/ui/smtp/SendMailDialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/smtp/SendMailDialog.cpp b/src/ui/smtp/SendMailDialog.cpp
index 3bf92283..9db78608 100644
--- a/src/ui/smtp/SendMailDialog.cpp
+++ b/src/ui/smtp/SendMailDialog.cpp
@@ -130,6 +130,13 @@ SendMailDialog::SendMailDialog(const QString& text, QWidget* parent)
ui->attachSenderPublickeyCheckBox->setText(_("Attach sender's public key"));
ui->contentEncryptCheckBox->setText(_("Encrypt content"));
+ auto pos = QPoint(100, 100);
+ LOG(INFO) << "parent" << parent;
+ if (parent) pos += parent->pos();
+ LOG(INFO) << "pos default" << pos.x() << pos.y();
+
+ move(pos);
+
this->setWindowTitle(_("New Message"));
this->setAttribute(Qt::WA_DeleteOnClose);
}