summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorTill Adam <adam@kde.org>2008-01-16 21:25:39 +0000
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-23 23:12:48 +0900
commitfc688f3103d72c2a20c2c59c488fefb0fdbd1e71 (patch)
tree9a684e47c43c6d86f8ba3ce02464a3fd10597177 /tdeioslave
parent929b0012612990a7ce28c7555bbb580a6ab00079 (diff)
downloadtdepim-fc688f3103d72c2a20c2c59c488fefb0fdbd1e71.tar.gz
tdepim-fc688f3103d72c2a20c2c59c488fefb0fdbd1e71.zip
Fix mailAddress:getStr when rawComment is non-empty
WAS: Fix the rest of 152692, another interesting QCString -> QByteArray gotcha. Seems to work ok with more email adresses now. CCBUG: 152692 Partially cherry-picked from: 9df2cbd9db920123c7ab51c63ea927f0af5545aa Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org> (cherry picked from commit 20c686e489c56e8f3e1aeba9090ebfe1897ea6b5)
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/imap4/mailaddress.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/imap4/mailaddress.cc b/tdeioslave/imap4/mailaddress.cc
index 915a3bbbe..38a1a330a 100644
--- a/tdeioslave/imap4/mailaddress.cc
+++ b/tdeioslave/imap4/mailaddress.cc
@@ -219,7 +219,7 @@ mailAddress::getStr () const
}
if (!rawComment.isEmpty ())
{
- retVal = '(' + rawComment + ')';
+ retVal += " (" + rawComment + ')';
}
// kdDebug(7116) << "mailAddress::getStr - '" << retVal << "'" << endl;
return retVal;