parent
76f6012e41
commit
d3dd27bd41
1 changed files with 26 additions and 0 deletions
@ -0,0 +1,26 @@ |
||||
From 90133c5da34945313e51eb4e12708897179194bc Mon Sep 17 00:00:00 2001
|
||||
From: Jacopo De Simoi <wilderjds@protonmail.com>
|
||||
Date: Thu, 23 Apr 2026 10:42:20 -0400
|
||||
Subject: [PATCH] Tentative crash fix
|
||||
|
||||
---
|
||||
mimetreeparser/src/nodehelper.cpp | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mimetreeparser/src/nodehelper.cpp b/mimetreeparser/src/nodehelper.cpp
|
||||
index 011adf5cb..2ef61387f 100644
|
||||
--- a/mimetreeparser/src/nodehelper.cpp
|
||||
+++ b/mimetreeparser/src/nodehelper.cpp
|
||||
@@ -58,7 +58,8 @@ void NodeHelper::setNodeProcessed(const KMime::Content *node, bool recurse)
|
||||
return;
|
||||
}
|
||||
mProcessedNodes.append(node);
|
||||
- qCDebug(MIMETREEPARSER_LOG) << "Node processed: " << node->index().toString() << node->contentType()->as7BitString();
|
||||
+ if (node->contentType())
|
||||
+ qCDebug(MIMETREEPARSER_LOG) << "Node processed: " << node->index().toString() << node->contentType()->as7BitString();
|
||||
//<< " decodedContent" << node->decodedContent();
|
||||
if (recurse) {
|
||||
const auto contents = node->contents();
|
||||
--
|
||||
2.52.0
|
||||
|
||||
Loading…
Reference in new issue