comparison ui/certificatelist.cpp @ 97:e478deca18f5

Correctly split between certificates to install and to remove
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 21 Mar 2014 10:42:29 +0000
parents 37580703a870
children 60c5df8e7980
comparison
equal deleted inserted replaced
96:37580703a870 97:e478deca18f5
48 48
49 mDate = QDateTime::fromMSecsSinceEpoch(timestamp * 1000); 49 mDate = QDateTime::fromMSecsSinceEpoch(timestamp * 1000);
50 } else if (curLine.startsWith("I:")) { 50 } else if (curLine.startsWith("I:")) {
51 mCertificatesInstall << Certificate(curLine); 51 mCertificatesInstall << Certificate(curLine);
52 } else if (curLine.startsWith("R:")) { 52 } else if (curLine.startsWith("R:")) {
53 mCertificatesInstall << Certificate(curLine); 53 mCertificatesRemove << Certificate(curLine);
54 } else if (curLine.startsWith("S:")) { 54 } else if (curLine.startsWith("S:")) {
55 // Signature is verified in read_and_verify_list 55 // Signature is verified in read_and_verify_list
56 continue; 56 continue;
57 } else if (!curLine.isEmpty()){ 57 } else if (!curLine.isEmpty()){
58 qDebug () << "Don't know how to handle: " << curLine; 58 qDebug () << "Don't know how to handle: " << curLine;

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