summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-10-26 11:08:28 (GMT)
committerGerrit Code Review <gerrit@localhost.localdomain>2012-10-26 12:59:00 (GMT)
commitb161612f257bcae0c5e702a1ce81a07477bc4925 (patch)
tree49a374ba3af42148822d4f482f6f69372c07d2bd
parente1fc03a2454767e5d8f9abe8ca7746b1e3dcfbf9 (diff)
downloadswift-b161612f257bcae0c5e702a1ce81a07477bc4925.zip
swift-b161612f257bcae0c5e702a1ce81a07477bc4925.tar.bz2
Fix that you can't select certs on Linux
Change-Id: I3773b3e3d8fc42b5886cf15f28ce01b93ffa77d1
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 52956bf..cc9f50a 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -409,7 +409,7 @@ void QtLoginWindow::handleCertficateChecked(bool checked) {
certificateButton_->setChecked(false);
}
#else
- certificateFile_ = QFileDialog::getOpenFileName(this, tr("Select an authentication certificate"), QString(), QString("*.cert;*.p12;*.pfx"));
+ certificateFile_ = QFileDialog::getOpenFileName(this, tr("Select an authentication certificate"), QString(), QString("P12 files (*.cert *.p12 *.pfx);;All files (*.*)"));
if (certificateFile_.isEmpty()) {
certificateButton_->setChecked(false);
}