Commit 1ee45a58 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Minor cleanup

* Remove explicit setting of alignment of one of the two group boxes
  to AlignLeft which is the default anyway.
* Remove obsolete connects. encBox is not checkable anymore since a long

GnuPG-bug-id: 5535
parent ae821301
......@@ -127,7 +127,6 @@ SignEncryptWidget::SignEncryptWidget(QWidget *parent, bool sigEncExclusive)
auto encBoxLay = new QVBoxLayout;
auto encBox = new QGroupBox(i18nc("@action", "Encrypt"));
// Own key
mSelfSelect = new KeySelectionCombo();
......@@ -174,8 +173,6 @@ SignEncryptWidget::SignEncryptWidget(QWidget *parent, bool sigEncExclusive)
// Connect it
connect(encBox, &QGroupBox::toggled, recipientWidget, &QWidget::setEnabled);
connect(encBox, &QGroupBox::toggled, this, &SignEncryptWidget::updateOp);
connect(mEncSelfChk, &QCheckBox::toggled, mSelfSelect, &QWidget::setEnabled);
connect(mEncSelfChk, &QCheckBox::toggled, this, &SignEncryptWidget::updateOp);
connect(mSymmetric, &QCheckBox::toggled, this, &SignEncryptWidget::updateOp);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment