does not work - reverse the order; refs #149

This commit is contained in:
Marc Wäckerlin
2012-05-10 09:56:25 +00:00
parent 27d7590671
commit 20115f037d
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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) {