Mercurial > trustbridge
comparison ui/administratorwindow.cpp @ 396:26651cc0cc47
Remove all certificates if a new list is loaded from file.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 16:45:37 +0200 |
parents | a63601810211 |
children | 9e6a2c2033ed |
comparison
equal
deleted
inserted
replaced
395:a63601810211 | 396:26651cc0cc47 |
---|---|
133 certList.readList(certFile.toLocal8Bit().constData()); | 133 certList.readList(certFile.toLocal8Bit().constData()); |
134 if (!certList.isValid()) { | 134 if (!certList.isValid()) { |
135 qDebug() << "Not a valid list."; | 135 qDebug() << "Not a valid list."; |
136 } | 136 } |
137 else { | 137 else { |
138 certificateModel->removeAll(); | |
138 loadCertificateTable(); | 139 loadCertificateTable(); |
139 } | 140 } |
140 } | 141 } |
141 | 142 |
142 void AdministratorWindow::saveCertificateFile() | 143 void AdministratorWindow::saveCertificateFile() |