[PATCH 1 of 3] Also allow cer files,

Wald Commits scm-commit at wald.intevation.org
Tue Apr 29 17:02:45 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398783638 0
# Node ID c81123298387d06ee89dfe97451b66122be490b1
# Parent  eb0dde95d1d733e797155840649ef65f88cd20fa
Also allow cer files,..

diff -r eb0dde95d1d7 -r c81123298387 ui/administratorwindow.cpp
--- 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);


More information about the Trustbridge-commits mailing list