summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-07 11:05:08 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-07 11:05:08 +0200
commit21da50cd64337990186fa3aca7630c523714e90f (patch)
tree5f894f0474fbe2a65e08b619ebde1767d98d232b /framework
parenteff261bd9bdb4a5c1874dcd1ee22d469f102b8c2 (diff)
downloadkube-21da50cd64337990186fa3aca7630c523714e90f.tar.gz
kube-21da50cd64337990186fa3aca7630c523714e90f.zip
Limit content size in debug view to something we can manage
Diffstat (limited to 'framework')
-rw-r--r--framework/qml/MailViewer.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml
index e9759d72..ef0cfa78 100644
--- a/framework/qml/MailViewer.qml
+++ b/framework/qml/MailViewer.qml
@@ -454,7 +454,7 @@ Rectangle {
454 textFormat: TextEdit.PlainText 454 textFormat: TextEdit.PlainText
455 wrapMode: TextEdit.Wrap 455 wrapMode: TextEdit.Wrap
456 height: implicitHeight 456 height: implicitHeight
457 text: messageParser.rawContent 457 text: messageParser.rawContent.substring(0, 100000) //The TextEdit deals poorly with messages that are too large.
458 } 458 }
459 Rectangle { 459 Rectangle {
460 color: "black" 460 color: "black"