changeset 529:c81123298387

Also allow cer files,..
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 15:00:38 +0000
parents eb0dde95d1d7
children fb47bab4c71a
files ui/administratorwindow.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ui/administratorwindow.cpp	Tue Apr 29 15:54:13 2014 +0200
+++ b/ui/administratorwindow.cpp	Tue Apr 29 15:00:38 2014 +0000
@@ -160,7 +160,7 @@
 void AdministratorWindow::addCertificates()
 {
     QStringList certFiles = QFileDialog::getOpenFileNames(
-        this, tr("Select certificate"), QDir::homePath(), "*.pem *.der *.crt");
+        this, tr("Select certificate"), QDir::homePath(), "*.pem *.der *.crt *.cer");
     for (int i = 0; i < certFiles.size(); i++) {
         QString certFile = certFiles.at(i);
         QList<Certificate> certs = Certificate::fromFileName(certFile);

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