From 20c686e489c56e8f3e1aeba9090ebfe1897ea6b5 Mon Sep 17 00:00:00 2001 From: Till Adam Date: Wed, 16 Jan 2008 21:25:39 +0000 Subject: 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 --- tdeioslave/imap4/mailaddress.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdeioslave') 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; -- cgit v1.2.1