diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-07 11:05:47 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-07 11:05:47 +0200 |
commit | 2989ba081341d01231bbf2efebd45b0d03958dd7 (patch) | |
tree | 832ff22cd097f23861ef1387e7d38a7df0eae705 /framework/src/domain/mime/messageparser.cpp | |
parent | 21da50cd64337990186fa3aca7630c523714e90f (diff) | |
download | kube-2989ba081341d01231bbf2efebd45b0d03958dd7.tar.gz kube-2989ba081341d01231bbf2efebd45b0d03958dd7.zip |
Made structure available in debug view
Diffstat (limited to 'framework/src/domain/mime/messageparser.cpp')
-rw-r--r-- | framework/src/domain/mime/messageparser.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/src/domain/mime/messageparser.cpp b/framework/src/domain/mime/messageparser.cpp index bc7535ec..2c190c80 100644 --- a/framework/src/domain/mime/messageparser.cpp +++ b/framework/src/domain/mime/messageparser.cpp | |||
@@ -68,6 +68,14 @@ QString MessageParser::rawContent() const | |||
68 | return mRawContent; | 68 | return mRawContent; |
69 | } | 69 | } |
70 | 70 | ||
71 | QString MessageParser::structureAsString() const | ||
72 | { | ||
73 | if (!d->mParser) { | ||
74 | return nullptr; | ||
75 | } | ||
76 | return d->mParser->structureAsString(); | ||
77 | } | ||
78 | |||
71 | QAbstractItemModel *MessageParser::parts() const | 79 | QAbstractItemModel *MessageParser::parts() const |
72 | { | 80 | { |
73 | if (!d->mParser) { | 81 | if (!d->mParser) { |