does not work - reverse the order; refs #149

master
Marc Wäckerlin 13 years ago
parent 27d7590671
commit 20115f037d
  1. 2
      src/certificate.hxx
  2. 2
      src/pinentry.hxx

@ -22,8 +22,8 @@ class Certificate: public QWidget, protected Ui::Certificate {
setupUi(this); setupUi(this);
} }
void adjust() { void adjust() {
_cert->adjustSize();
adjustSize(); adjustSize();
_cert->adjustSize();
} }
Certificate& certificate(const QSslCertificate& cert) { Certificate& certificate(const QSslCertificate& cert) {
_cert->clear(); _cert->clear();

@ -74,8 +74,8 @@ class PinEntry: public QDialog, public Ui::PinEntry {
protected Q_SLOTS: protected Q_SLOTS:
void on__showDetails_toggled(bool s) { void on__showDetails_toggled(bool s) {
_cert->setVisible(s); _cert->setVisible(s);
_cert->adjust();
adjustSize(); adjustSize();
_cert->adjust();
} }
protected: protected:
QString utfConv(const QString& txt) { QString utfConv(const QString& txt) {

Loading…
Cancel
Save