aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyImportDetailDialog.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-12-16 21:20:56 +0000
committerGitHub <[email protected]>2021-12-16 21:20:56 +0000
commit52ac9979bd8c4820a0034d619cb7d1d3e4105d8b (patch)
treec7524432467825603d83a17f398249d431c28b18 /src/ui/KeyImportDetailDialog.cpp
parentMerge pull request #32 from saturneric/develop (diff)
parentFixed bugs & Improve Speed. (diff)
downloadGpgFrontend-52ac9979bd8c4820a0034d619cb7d1d3e4105d8b.tar.gz
GpgFrontend-52ac9979bd8c4820a0034d619cb7d1d3e4105d8b.zip
Merge pull request #34 from saturneric/develop
v2.0.3
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();
}