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
KDE PIM Add-ons
Commits
4150533f
Commit
4150533f
authored
Sep 02, 2021
by
Laurent Montel
😁
Browse files
Add info when we can't extract message
parent
f5ab3851
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewer/bodypartformatter/ms-tnef/application_ms-tnef.cpp
View file @
4150533f
...
...
@@ -110,7 +110,9 @@ public:
label
=
MessageCore
::
StringUtil
::
quoteHtmlChars
(
label
,
true
);
const
QString
dir
=
mp
->
nodeHelper
()
->
createTempDir
(
QLatin1String
(
"ktnef-"
)
+
QString
::
number
(
i
));
parser
.
extractFileTo
(
att
->
name
(),
dir
);
if
(
!
parser
.
extractFileTo
(
att
->
name
(),
dir
))
{
qCDebug
(
MS_TNEF_LOG
)
<<
"No possible to extract file:"
<<
att
->
name
();
}
// falling back to internal TNEF attachement name if no filename is given for the attached file
// this follows the logic of KTNEFParser::extractFileTo(...)
...
...
Write
Preview
Supports
Markdown
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