less is more: updating the outmost parent is enough; refs #149
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user