Skip to content
Snippets Groups Projects
Commit cfc07cea authored by ck's avatar ck
Browse files

Maemo: Add filter to key file dialog.

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