diff --git a/src/certificate.hxx b/src/certificate.hxx index 598c9b7..0aee794 100644 --- a/src/certificate.hxx +++ b/src/certificate.hxx @@ -22,8 +22,8 @@ class Certificate: public QWidget, protected Ui::Certificate { setupUi(this); } void adjust() { - _cert->adjustSize(); adjustSize(); + _cert->adjustSize(); } Certificate& certificate(const QSslCertificate& cert) { _cert->clear(); diff --git a/src/pinentry.hxx b/src/pinentry.hxx index 012a918..77b574b 100644 --- a/src/pinentry.hxx +++ b/src/pinentry.hxx @@ -74,8 +74,8 @@ class PinEntry: public QDialog, public Ui::PinEntry { protected Q_SLOTS: void on__showDetails_toggled(bool s) { _cert->setVisible(s); - _cert->adjust(); adjustSize(); + _cert->adjust(); } protected: QString utfConv(const QString& txt) {