Mercurial > trustbridge
comparison ui/administratorwindow.cpp @ 565:9db7034b2d6c
Added method to get the current certificate list changes.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 22 May 2014 18:28:07 +0200 |
parents | ccdc4c6b97ce |
children | 8728ae882b6a |
comparison
equal
deleted
inserted
replaced
564:f115da3645d5 | 565:9db7034b2d6c |
---|---|
272 entries.append(removeListEntries); | 272 entries.append(removeListEntries); |
273 entries.append("\r\n"); | 273 entries.append("\r\n"); |
274 | 274 |
275 return entries; | 275 return entries; |
276 } | 276 } |
277 | |
278 QList<Certificate> AdministratorWindow::currentChanges() | |
279 { | |
280 QList<Certificate> changed; | |
281 foreach(const Certificate& cert, certificates()) { | |
282 if (!mCertList.getCertificates().contains(cert)) { | |
283 changed.append(cert); | |
284 } | |
285 } | |
286 return changed; | |
287 } |