summaryrefslogtreecommitdiffstats
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 22:44:50 +0900
commit20c686e489c56e8f3e1aeba9090ebfe1897ea6b5 (patch)
treefe6ce63f648edb33979971f172bd021f8de6722f
parentb07b3401ab3167d0d83078ce52705e5aa49c9776 (diff)
downloadtdepim-20c686e489c56e8f3e1aeba9090ebfe1897ea6b5.tar.gz
tdepim-20c686e489c56e8f3e1aeba9090ebfe1897ea6b5.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>
-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;