diff ui/certificatelistwidget.cpp @ 661:320a64d58e62

(UI) Updated English strings. Removed Issuer fields.
author Emanuel Schuetze <emanuel@intevation.de>
date Thu, 26 Jun 2014 15:59:34 +0200
parents 39f03316f675
children 973a7ce19658
line wrap: on
line diff
--- a/ui/certificatelistwidget.cpp	Thu Jun 26 15:58:11 2014 +0200
+++ b/ui/certificatelistwidget.cpp	Thu Jun 26 15:59:34 2014 +0200
@@ -37,30 +37,22 @@
     QGroupBox *detailBox = new QGroupBox(tr("Details"));
     QLabel *subjectCN = new QLabel(tr("Subject Common Name:"));
     QLabel *subjectOU = new QLabel(tr("Subject Organisation:"));
-    QLabel *issuerCN = new QLabel(tr("Issuer Common Name:"));
-    QLabel *issuerOU = new QLabel(tr("Issuer Organisation:"));
     QLabel *validFrom = new QLabel(tr("Valid from:"));
     QLabel *validTo = new QLabel(tr("Valid to:"));
-    QLabel *fingerprint = new QLabel(tr("Fingerprint:"));
+    QLabel *fingerprint = new QLabel(tr("Fingerprint (SHA1):"));
     detailLabelLayout->addWidget(subjectCN);
     detailLabelLayout->addWidget(subjectOU);
-    detailLabelLayout->addWidget(issuerCN);
-    detailLabelLayout->addWidget(issuerOU);
     detailLabelLayout->addWidget(validFrom);
     detailLabelLayout->addWidget(validTo);
     detailLabelLayout->addWidget(fingerprint);
     mSubjectCN = new QLabel(tr(""));
     mSubjectO = new QLabel(tr(""));
-    mIssuerCN = new QLabel(tr(""));
-    mIssuerO = new QLabel(tr(""));
     mValidFrom = new QLabel(tr(""));
     mValidTo = new QLabel(tr(""));
     mFingerprint = new QLabel(tr(""));
     mFingerprint->setFont(QFont("DejaVu Sans Mono"));
     detailContentLayout->addWidget(mSubjectCN);
     detailContentLayout->addWidget(mSubjectO);
-    detailContentLayout->addWidget(mIssuerCN);
-    detailContentLayout->addWidget(mIssuerO);
     detailContentLayout->addWidget(mValidFrom);
     detailContentLayout->addWidget(mValidTo);
     detailContentLayout->addWidget(mFingerprint);
@@ -187,8 +179,6 @@
     Certificate cert = item->data(Qt::UserRole).value<Certificate>();
     mSubjectCN->setText(cert.subjectCN());
     mSubjectO->setText(cert.subjectO());
-    mIssuerCN->setText(cert.issuerCN());
-    mIssuerO->setText(cert.issuerO());
     mValidFrom->setText(cert.validFrom().toString());
     mValidTo->setText(cert.validTo().toString());
     mFingerprint->setText(cert.fingerprint());

http://wald.intevation.org/projects/trustbridge/