[PATCH] Certificate: initialising member variable mEditable in the constructors

Wald Commits scm-commit at wald.intevation.org
Fri May 16 10:17:00 CEST 2014


# HG changeset patch
# User Bernhard Reiter <bernhard at intevation.de>
# Date 1400228202 -7200
# Node ID bf445b0e1126685986a05f235049143720b2627c
# Parent  da00099aef5d0d326d6827ce5c3743689aa2813e
Certificate: initialising member variable mEditable in the constructors.

diff -r da00099aef5d -r bf445b0e1126 ui/certificate.cpp
--- 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;


More information about the Trustbridge-commits mailing list