Mercurial > trustbridge > trustbridge
diff 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 |
line wrap: on
line diff
--- a/ui/certificatelist.cpp Wed Mar 26 12:52:53 2014 +0100 +++ b/ui/certificatelist.cpp Wed Mar 26 13:29:09 2014 +0100 @@ -13,6 +13,11 @@ char *data = NULL; size_t size = 0; + mCertificatesRemove.clear(); + mCertificatesInstall.clear(); + mDate = QDateTime(); + mData = QString(); + mStatus = read_and_verify_list(fileName, &data, &size); if (!isValid()) {