comparison 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
comparison
equal deleted inserted replaced
77:056ddb71a310 78:2f5db8c70bc2
1 #include "certificate.h" 1 #include "certificate.h"
2 #include <QObject> 2 #include <QObject>
3 3
4 QString Certificate::shortDescription() { 4 const QString& Certificate::shortDescription() const {
5 if (!isValid()) {
6 return QObject::tr("Invalid Certificate");
7 }
8 return mShortDescription; 5 return mShortDescription;
9 } 6 }

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