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 20c686e489)
r14.0.x
Till Adam 17 years ago committed by Michele Calgaro
parent 929b001261
commit fc688f3103
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