Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
f919863d
Commit
f919863d
authored
Jun 19, 2020
by
Laurent Montel
Browse files
Fix crash when node is empty
parent
752e1804
Changes
1
Hide whitespace changes
Inline
Side-by-side
mimetreeparser/src/nodehelper.cpp
View file @
f919863d
...
...
@@ -732,6 +732,9 @@ QString NodeHelper::persistentIndex(const KMime::Content *node) const
KMime
::
Content
*
NodeHelper
::
contentFromIndex
(
KMime
::
Content
*
node
,
const
QString
&
persistentIndex
)
const
{
if
(
!
node
)
{
return
nullptr
;
}
KMime
::
Content
*
c
=
node
->
topLevel
();
if
(
c
)
{
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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