diff ui/certificate.cpp @ 356:67b471c4d1fc

Default for loaded certificates from file to install
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Apr 2014 16:23:29 +0200
parents 5f1494fab517
children 31079bd54036
line wrap: on
line diff
--- a/ui/certificate.cpp	Thu Apr 10 16:03:23 2014 +0200
+++ b/ui/certificate.cpp	Thu Apr 10 16:23:29 2014 +0200
@@ -75,7 +75,8 @@
 
     mValid = !mSubjectCN.isEmpty();
 
-    mBaseLine = derData.toBase64();
+    /* Default is installation for new certificates */
+    mBaseLine = QString::fromLatin1("I:") + derData.toBase64();
 }
 
 Certificate::Certificate(const QString& b64Line) :

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