view ui/certificate.cpp @ 66:4f79cf993737

Tiny improvement: free resources first that you have aquired last. Added TODO for better error reporting.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 18 Mar 2014 16:37:40 +0100
parents dc1e1e9e62ce
children 2f5db8c70bc2
line wrap: on
line source
#include "certificate.h"
#include <QObject>

QString Certificate::shortDescription() {
    if (!isValid()) {
        return QObject::tr("Invalid Certificate");
    }
    return mShortDescription;
}

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