Commit cfc07cea authored by ck's avatar ck
Browse files

Maemo: Add filter to key file dialog.

Task-number: QTCREATORBUG-1067
parent d469a623
......@@ -356,8 +356,9 @@ void MaemoSettingsWidget::deployKey()
return;
const QString &dir = QFileInfo(currentConfig().keyFile).path();
const QString &keyFile
= QFileDialog::getOpenFileName(this, tr("Choose public key file"), dir);
const QString &keyFile = QFileDialog::getOpenFileName(this,
tr("Choose public key file"), dir,
tr("Public Key Files(*.pub);;All Files (*)"));
if (keyFile.isEmpty())
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment