Changed on the Message Composer when adding GXS Identity to the "To" field, for user friendly display look like a email address.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7812 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-12-31 12:39:33 +00:00
parent d26ea4a642
commit 557fe7b2ba

View File

@ -1455,7 +1455,7 @@ void MessageComposer::setRecipientToRow(int row, enumType type, destinationType
QPixmap identicon = QPixmap::fromImage(GxsIdDetails::makeDefaultIcon(RsGxsId(gid))) ;
name = tr("Distant peer (name: %2, PGP key: %1)").arg(QString::fromStdString(gid.toStdString())).arg(QString::fromUtf8(detail.mNickname.c_str())) ;
name = tr("%2 <%2@%1>").arg(QString::fromStdString(gid.toStdString())).arg(QString::fromUtf8(detail.mNickname.c_str())) ;
icon = QIcon(identicon);
}
break ;