Diffstat (limited to 'noncore/net/mail/abstractmail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/abstractmail.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/net/mail/abstractmail.cpp b/noncore/net/mail/abstractmail.cpp index b7e5eaa..3d76c96 100644 --- a/noncore/net/mail/abstractmail.cpp +++ b/noncore/net/mail/abstractmail.cpp @@ -51,3 +51,2 @@ QString AbstractMail::convert_String(const char*text) { -#if 0 size_t index = 0; @@ -55,3 +54,2 @@ QString AbstractMail::convert_String(const char*text) - qDebug("encode start %s",text); /* attention - doesn't work with arm systems! */ @@ -59,3 +57,2 @@ QString AbstractMail::convert_String(const char*text) text, strlen(text),&index, "iso-8859-1",&res); - qDebug("encode end"); if (err != MAILIMF_NO_ERROR) { @@ -64,2 +61,3 @@ QString AbstractMail::convert_String(const char*text) } + if (res) { QString result(res); @@ -67,5 +65,4 @@ QString AbstractMail::convert_String(const char*text) return result; -#else + } return QString(text); -#endif } |