point 3) resolved; refs #108
This commit is contained in:
+4
-1
@@ -25,6 +25,7 @@ class PinEntry: public QDialog, public Ui::PinEntry {
|
||||
PinEntry(const QSslCertificate& cert, QWidget *parent=0): QDialog(parent) {
|
||||
setupUi(this);
|
||||
_cert->certificate(cert);
|
||||
on__showDetails_toggled(false);
|
||||
_name->setText(utfConv(cert.subjectInfo(QSslCertificate::CommonName))
|
||||
.remove(" (Authentication)"));
|
||||
_mail->setText(utfConv(cert.alternateSubjectNames()
|
||||
@@ -73,7 +74,9 @@ class PinEntry: public QDialog, public Ui::PinEntry {
|
||||
}
|
||||
protected Q_SLOTS:
|
||||
void on__showDetails_toggled(bool s) {
|
||||
_certStack->setCurrentIndex(s?1:0);
|
||||
_cert->setVisible(s);
|
||||
_cert->adjustSize();
|
||||
adjustSize();
|
||||
}
|
||||
protected:
|
||||
QString utfConv(const QString& txt) {
|
||||
|
||||
Reference in New Issue
Block a user