Commit cd231162 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to load eml file

parent 57879cc6
Pipeline #63602 passed with stage
in 14 minutes and 2 seconds
......@@ -693,7 +693,7 @@ KMOpenMsgCommand::KMOpenMsgCommand(QWidget *parent, const QUrl &url, const QStri
KMCommand::Result KMOpenMsgCommand::execute()
{
if (mUrl.isEmpty()) {
mUrl = QFileDialog::getOpenFileUrl(parentWidget(), i18n("Open Message"), QUrl(), QStringLiteral("%1 (*.mbox)").arg(i18n("Message")));
mUrl = QFileDialog::getOpenFileUrl(parentWidget(), i18n("Open Message"), QUrl(), QStringLiteral("%1 (*.mbox *.eml)").arg(i18n("Message")));
}
if (mUrl.isEmpty()) {
return Canceled;
......
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