Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KMail
Commits
cd231162
Commit
cd231162
authored
May 30, 2021
by
Laurent Montel
😁
Browse files
Allow to load eml file
parent
57879cc6
Pipeline
#63602
passed with stage
in 14 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kmcommands.cpp
View file @
cd231162
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment