comparison ui/certificatelist.cpp @ 203:60c5df8e7980

Reinitialize certificatelist when readFile is called
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 26 Mar 2014 13:29:09 +0100
parents e478deca18f5
children 6a7eb102716d
comparison
equal deleted inserted replaced
202:0861069fd6d0 203:60c5df8e7980
10 10
11 list_status_t CertificateList::readList(const char *fileName) 11 list_status_t CertificateList::readList(const char *fileName)
12 { 12 {
13 char *data = NULL; 13 char *data = NULL;
14 size_t size = 0; 14 size_t size = 0;
15
16 mCertificatesRemove.clear();
17 mCertificatesInstall.clear();
18 mDate = QDateTime();
19 mData = QString();
15 20
16 mStatus = read_and_verify_list(fileName, &data, &size); 21 mStatus = read_and_verify_list(fileName, &data, &size);
17 22
18 if (!isValid()) { 23 if (!isValid()) {
19 return mStatus; 24 return mStatus;

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