summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-01-05 15:57:11 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-01-05 15:57:11 (GMT)
commitf504079157860a09ba222ea38f1bd799bdb8a1f7 (patch)
tree5f6a21ba0954c7de5d161ade226caa45464d08d6 /Swift/QtUI
parentb01f65e011503a76c5f3ef6272f7ff77afb2bd7e (diff)
downloadswift-f504079157860a09ba222ea38f1bd799bdb8a1f7.zip
swift-f504079157860a09ba222ea38f1bd799bdb8a1f7.tar.bz2
Add more cert file types for the login cert dialog filter
Diffstat (limited to 'Swift/QtUI')
-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 43abd91..fc99633 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -367,7 +367,7 @@ void QtLoginWindow::setLoginAutomatically(bool loginAutomatically) {
void QtLoginWindow::handleCertficateChecked(bool checked) {
if (checked) {
- certificateFile_ = QFileDialog::getOpenFileName(this, tr("Select an authentication certificate"), QString(), QString("*.cert"));
+ certificateFile_ = QFileDialog::getOpenFileName(this, tr("Select an authentication certificate"), QString(), QString("*.cert;*.p12;*.pfx"));
if (certificateFile_.isEmpty()) {
certificateButton_->setChecked(false);
}