diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-01 10:00:11 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-01 10:00:11 +0200 |
commit | bc6ac986dc9dde942b0a9185940e748c3a0e87c9 (patch) | |
tree | e5279c9d957ed2653e315274079d7325ce2f2e8f /framework/src/domain/textdocumenthandler.cpp | |
parent | 88616288d8541397776b54c5546d61af835483af (diff) | |
download | kube-bc6ac986dc9dde942b0a9185940e748c3a0e87c9.tar.gz kube-bc6ac986dc9dde942b0a9185940e748c3a0e87c9.zip |
Enable HTML mode when loading an html message.
Diffstat (limited to 'framework/src/domain/textdocumenthandler.cpp')
-rw-r--r-- | framework/src/domain/textdocumenthandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/src/domain/textdocumenthandler.cpp b/framework/src/domain/textdocumenthandler.cpp index 6c2bc323..ea312282 100644 --- a/framework/src/domain/textdocumenthandler.cpp +++ b/framework/src/domain/textdocumenthandler.cpp | |||
@@ -289,3 +289,9 @@ void TextDocumentHandler::mergeFormatOnWordOrSelection(const QTextCharFormat &fo | |||
289 | } | 289 | } |
290 | } | 290 | } |
291 | } | 291 | } |
292 | |||
293 | |||
294 | bool TextDocumentHandler::isHtml(const QString &text) | ||
295 | { | ||
296 | return Qt::mightBeRichText(text); | ||
297 | } | ||