less is more: updating the outmost parent is enough; refs #149

This commit is contained in:
Marc Wäckerlin
2012-05-10 11:41:49 +00:00
parent bfe064f7ed
commit 99246ab9a9

View File

@@ -21,10 +21,6 @@ class Certificate: public QWidget, protected Ui::Certificate {
Certificate(QWidget* p): QWidget(p) {
setupUi(this);
}
void adjust() {
adjustSize();
_cert->adjustSize();
}
Certificate& certificate(const QSslCertificate& cert) {
_cert->clear();
if (!cert.isValid()) return *this;