diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/smtp/SendMailDialog.cpp | 7 |
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); } |