aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyUploadDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-07-07 17:23:28 +0000
committerSaturneric <[email protected]>2021-07-07 17:23:28 +0000
commitde7273d31dd162a7d6e5960cc0037cc2faa50e2e (patch)
tree653bec9b699f982c8498e1c153aa946b8d9fe173 /src/ui/KeyUploadDialog.cpp
parentMerge branch 'develop' into main (diff)
downloadGpgFrontend-de7273d31dd162a7d6e5960cc0037cc2faa50e2e.tar.gz
GpgFrontend-de7273d31dd162a7d6e5960cc0037cc2faa50e2e.zip
UI Improvement;
Update Documents;
Diffstat (limited to 'src/ui/KeyUploadDialog.cpp')
-rw-r--r--src/ui/KeyUploadDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/KeyUploadDialog.cpp b/src/ui/KeyUploadDialog.cpp
index e28b4230..faf892f0 100644
--- a/src/ui/KeyUploadDialog.cpp
+++ b/src/ui/KeyUploadDialog.cpp
@@ -36,9 +36,13 @@ KeyUploadDialog::KeyUploadDialog(GpgME::GpgContext *ctx, const QVector<GpgKey> &
auto *pb = new QProgressBar();
pb->setRange(0, 0);
+ pb->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+ pb->setTextVisible(false);
auto *layout = new QVBoxLayout();
layout->addWidget(pb);
+ layout->setContentsMargins(0, 0, 0, 0);
+ layout->setSpacing(0);
this->setLayout(layout);
this->setModal(true);