# HG changeset patch # User Andre Heinecke # Date 1396253000 0 # Node ID 9f0865dc8b147214ffd62b557b83bad487b3e729 # Parent 4de97f74d038b9b7312c9a5f71ed08cc1f84dcf5 Add accessor to check if the certificate should be installed diff -r 4de97f74d038 -r 9f0865dc8b14 ui/certificate.h --- a/ui/certificate.h Mon Mar 31 08:02:46 2014 +0000 +++ b/ui/certificate.h Mon Mar 31 08:03:20 2014 +0000 @@ -66,8 +66,15 @@ **/ QString getSubjectAttr(const QString& attr) const; + /** @brief Check if this certificate has the install instruction. + * + * This is shorthand for baseLine.startsWith("I:"); + **/ + bool isInstallCert() const {return mBaseLine.startsWith("I:");} + private: bool mValid; + bool mInstCert; QString mDetails; QString mBaseLine;