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>
pull/29/head
Till Adam 16 years ago committed by Michele Calgaro
parent b07b3401ab
commit 20c686e489
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -219,7 +219,7 @@ mailAddress::getStr () const
}
if (!rawComment.isEmpty ())
{
retVal = '(' + rawComment + ')';
retVal += " (" + rawComment + ')';
}
// kdDebug(7116) << "mailAddress::getStr - '" << retVal << "'" << endl;
return retVal;

Loading…
Cancel
Save