diff ui/certificate.h @ 1108:9bb9932bb819

Revert commit 1101 the inactive manual changes were a bad idea
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 17:47:12 +0200
parents 2b3526ef2d69
children 2a1aa9df8f11
line wrap: on
line diff
--- a/ui/certificate.h	Mon Sep 15 17:46:22 2014 +0200
+++ b/ui/certificate.h	Mon Sep 15 17:47:12 2014 +0200
@@ -136,21 +136,6 @@
     friend inline bool operator==(const Certificate& lhs, const Certificate& rhs) {
         return lhs.base64Line() == rhs.base64Line();
     }
-
-    /** @brief Wether or not the certificate is Active.
-     *
-     * This property is mainly for the manually changed certificate list.
-     * A certificate is active if it should be counted as change in a list
-     * and if it should be written to a certificate store.
-     *
-     * An inctive certificate will only be shown in the manual changes list
-     * but not counted as a changed or changed in the certificate list. */
-    bool isActive() const { return mActive; }
-
-    /** @brief set the active state of a certificate.
-     *
-     * See isActive() for details. */
-    void setActive(bool active) { mActive = active; }
 private:
     /** @brief Helper function to parse the details of a certificate **/
     void parseDetails(const QByteArray& cert);
@@ -158,7 +143,6 @@
     bool mValid;
     /* bool mInstCert; */
     bool mEditable;
-    bool mActive;
 
     QString mSubjectOU,
             mSubjectCN,

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