Mercurial > trustbridge
diff ui/mainwindow.cpp @ 531:dec797c7230c
Fix usage of OU / O
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 29 Apr 2014 15:02:31 +0000 |
parents | 3edbe1af2c85 |
children | c84dc8f6d017 |
line wrap: on
line diff
--- a/ui/mainwindow.cpp Tue Apr 29 15:01:02 2014 +0000 +++ b/ui/mainwindow.cpp Tue Apr 29 15:02:31 2014 +0000 @@ -34,8 +34,8 @@ #endif #define SERVER_URL "https://files.intevation.de:443" -#define LIST_RESOURCE "/users/aheinecke/zertifikatsliste_1.txt" -#define SW_RESOURCE "/users/aheinecke/zertifikatsliste_1.txt" +#define LIST_RESOURCE "/users/aheinecke/zertifikatsliste.txt" +#define SW_RESOURCE "/users/aheinecke/zertifikatsliste.txt" #ifdef Q_OS_WIN #define SW_RESOURCE_VERSION "/users/aheinecke/trustbridge-%1.exe" #else @@ -434,17 +434,17 @@ detailLabelLayout->addWidget(validTo); detailLabelLayout->addWidget(fingerprint); mSubjectCN = new QLabel(tr("")); - mSubjectOU = new QLabel(tr("")); + mSubjectO = new QLabel(tr("")); mIssuerCN = new QLabel(tr("")); - mIssuerOU = 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(mSubjectOU); + detailContentLayout->addWidget(mSubjectO); detailContentLayout->addWidget(mIssuerCN); - detailContentLayout->addWidget(mIssuerOU); + detailContentLayout->addWidget(mIssuerO); detailContentLayout->addWidget(mValidFrom); detailContentLayout->addWidget(mValidTo); detailContentLayout->addWidget(mFingerprint); @@ -610,9 +610,9 @@ } Certificate cert = item->data(CertificateItemDelegate::DataRole).value<Certificate>(); mSubjectCN->setText(cert.subjectCN()); - mSubjectOU->setText(cert.subjectOU()); + mSubjectO->setText(cert.subjectO()); mIssuerCN->setText(cert.issuerCN()); - mIssuerOU->setText(cert.issuerO()); + mIssuerO->setText(cert.issuerO()); mValidFrom->setText(cert.validFrom().toString()); mValidTo->setText(cert.validTo().toString()); mFingerprint->setText(cert.fingerprint());