diff ui/certificate_win.cpp @ 79:1dd8e91972a8

Add accessors to certificate's in certificatelist
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 19 Mar 2014 16:35:49 +0000
parents dc1e1e9e62ce
children
line wrap: on
line diff
--- a/ui/certificate_win.cpp	Wed Mar 19 16:35:13 2014 +0000
+++ b/ui/certificate_win.cpp	Wed Mar 19 16:35:49 2014 +0000
@@ -4,7 +4,10 @@
 
 #include <QDebug>
 
-Certificate::Certificate(const QByteArray& asn1data) : mValid(false) {
+Certificate::Certificate(const QByteArray& asn1data) : 
+    mValid(false),
+    mShortDescription(QObject::tr("Invalid Certificate"))
+{
 
     // asn1data is expected to be \0 terminated as this is what
     // qt does in ::fromBase64 so the actual asn1data is

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