summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heinecke <aheinecke@intevation.de>2016-08-05 09:08:48 (GMT)
committerAndre Heinecke <aheinecke@intevation.de>2016-08-05 09:08:48 (GMT)
commit143b274ae84d01cd02947b3c2381e17c1406eae6 (patch)
treefe9e57e1ad4dd08faa87683480b73afa7feb4a9c
parentcc582f99622877823d70bc4876ab712f39a329ff (diff)
Replace layout hack by proper margins
-rw-r--r--src/crypto/gui/signencryptfileswizard.cpp1
-rw-r--r--src/crypto/gui/signencryptwidget.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/gui/signencryptfileswizard.cpp b/src/crypto/gui/signencryptfileswizard.cpp
index f6a85a7..a787028 100644
--- a/src/crypto/gui/signencryptfileswizard.cpp
+++ b/src/crypto/gui/signencryptfileswizard.cpp
@@ -98,6 +98,7 @@ public:
{
setTitle(i18nc("@title", "Sign / Encrypt Files"));
auto vLay = new QVBoxLayout(this);
+ vLay->setMargin(0);
vLay->addWidget(mWidget);
connect(mWidget, &SignEncryptWidget::operationChanged, this,
&SigEncPage::updateCommitButton);
diff --git a/src/crypto/gui/signencryptwidget.cpp b/src/crypto/gui/signencryptwidget.cpp
index 99779ce..e10054d 100644
--- a/src/crypto/gui/signencryptwidget.cpp
+++ b/src/crypto/gui/signencryptwidget.cpp
@@ -93,8 +93,7 @@ SignEncryptWidget::SignEncryptWidget(QWidget *parent)
mModel(AbstractKeyListModel::createFlatKeyListModel(this))
{
QVBoxLayout *lay = new QVBoxLayout;
- // FIXME: Fix layouting together with the Output area.
- setContentsMargins(-6,-6,-6,-6);
+ lay->setMargin(0);
mModel->useKeyCache(true, false);