Commit 0fd046fa authored by Laurent Montel's avatar Laurent Montel 😁

USe setMimeTypeFilters directly

parent 009828a5
......@@ -70,8 +70,7 @@ IdentityAddVcardDialog::IdentityAddVcardDialog(const QStringList &shadowIdentiti
mVCardPath = new KUrlRequester;
const QString filter = i18n("*.vcf|vCard (*.vcf)\n*|all files (*)");
mVCardPath->setMimeTypeFilters({QStringLiteral("text/vcard"), QStringLiteral("all/allfiles")});
mVCardPath->setMode(KFile::LocalOnly | KFile::File);
QLabel *label = new QLabel(i18n("&vCard path:"), this);
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