aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyImportDetailDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/KeyImportDetailDialog.cpp')
-rw-r--r--src/ui/KeyImportDetailDialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/KeyImportDetailDialog.cpp b/src/ui/KeyImportDetailDialog.cpp
index 48d1e9ee..c4a7f6e8 100644
--- a/src/ui/KeyImportDetailDialog.cpp
+++ b/src/ui/KeyImportDetailDialog.cpp
@@ -46,10 +46,8 @@ KeyImportDetailDialog::KeyImportDetailDialog(GpgImportInformation result,
this->createGeneralInfoBox();
mv_box->addWidget(generalInfoBox);
-
this->createKeysTable();
mv_box->addWidget(keysTable);
-
this->createButtonBox();
mv_box->addWidget(buttonBox);
@@ -60,10 +58,12 @@ KeyImportDetailDialog::KeyImportDetailDialog(GpgImportInformation result,
this->setWindowTitle(_("Key Import Details"));
auto pos = QPoint(100, 100);
- LOG(INFO) << "parent" << parent;
if (parent) pos += parent->pos();
this->move(pos);
- this->resize(QSize(600, 300));
+
+ this->setMinimumSize(QSize(600, 300));
+ this->adjustSize();
+
this->setModal(true);
this->show();
}