Mercurial > trustbridge
diff ui/certificate.cpp @ 78:2f5db8c70bc2
Constify
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 19 Mar 2014 16:35:13 +0000 |
parents | dc1e1e9e62ce |
children | 112228bd7e4b |
line wrap: on
line diff
--- a/ui/certificate.cpp Wed Mar 19 16:33:46 2014 +0000 +++ b/ui/certificate.cpp Wed Mar 19 16:35:13 2014 +0000 @@ -1,9 +1,6 @@ #include "certificate.h" #include <QObject> -QString Certificate::shortDescription() { - if (!isValid()) { - return QObject::tr("Invalid Certificate"); - } +const QString& Certificate::shortDescription() const { return mShortDescription; }