Mercurial > trustbridge
diff ui/certificate.h @ 399:55cbe0a482ce
merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 16 Apr 2014 10:01:02 +0200 |
parents | cc1738b398a0 |
children | 17e1c8f37d72 |
line wrap: on
line diff
--- a/ui/certificate.h Wed Apr 16 10:00:17 2014 +0200 +++ b/ui/certificate.h Wed Apr 16 10:01:02 2014 +0200 @@ -128,6 +128,9 @@ **/ static QList<Certificate> fromFileName (const QString& file_name); + friend inline bool operator==(const Certificate& lhs, const Certificate& rhs) { + return lhs.base64Line() == rhs.base64Line(); + } private: /** @brief Helper function to parse the details of a certificate **/ void parseDetails(const QByteArray& cert);