diff ui/certificate.cpp @ 547:bf445b0e1126

Certificate: initialising member variable mEditable in the constructors.
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 16 May 2014 10:16:42 +0200
parents fb47bab4c71a
children 320a64d58e62
line wrap: on
line diff
--- a/ui/certificate.cpp	Fri May 16 09:53:01 2014 +0200
+++ b/ui/certificate.cpp	Fri May 16 10:16:42 2014 +0200
@@ -89,7 +89,8 @@
 }
 
 Certificate::Certificate(const QByteArray& derData) :
-    mValid(false)
+    mValid(false),
+    mEditable(false)
 {
     if (derData.isEmpty()) {
         return;
@@ -104,7 +105,8 @@
 }
 
 Certificate::Certificate(const QString& b64Line) :
-    mValid(false)
+    mValid(false),
+    mEditable(false)
 {
     if (b64Line.isEmpty()) {
         return;

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