summaryrefslogtreecommitdiffstats
path: root/kmail/kmcomposewin.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-03-25 20:20:07 +0200
committerSlávek Banko <[email protected]>2018-03-25 20:20:24 +0200
commitf9301c6c042546a86f28f2ddaccadca7bcf8b9a6 (patch)
tree173ae65f5292e37b3fec32edb26eb22cebc34ed5 /kmail/kmcomposewin.cpp
parent3f26d326c9bd8fbd60e5d89e20a705c87a837b1f (diff)
downloadtdepim-f9301c6c042546a86f28f2ddaccadca7bcf8b9a6.tar.gz
tdepim-f9301c6c042546a86f28f2ddaccadca7bcf8b9a6.zip
kmail: Avoid setting charset on non-textual parts of emails
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 3479159c7ff5c918af12e29a32367843f336b57f)
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r--kmail/kmcomposewin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index c0b66ab5d..2add2b3a8 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -3286,7 +3286,6 @@ void KMComposeWin::slotAttachProperties()
}
}
}
- if (msgPart->typeStr().lower() != "text") msgPart->setCharset(TQCString());
}
//-----------------------------------------------------------------------------