From b161612f257bcae0c5e702a1ce81a07477bc4925 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Fri, 26 Oct 2012 12:08:28 +0100
Subject: Fix that you can't select certs on Linux

Change-Id: I3773b3e3d8fc42b5886cf15f28ce01b93ffa77d1

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);
 		}
-- 
cgit v0.10.2-6-g49f6