changeset 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 da00099aef5d
children c84dc8f6d017
files ui/certificate.cpp
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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/