fixed message tooltip for loading ids

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7992 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-03-07 14:27:32 +00:00
parent 8d494ecaf8
commit b29d5e2d6b
2 changed files with 4 additions and 2 deletions

View File

@ -840,8 +840,10 @@ QString GxsIdDetails::getComment(const RsIdentityDetails &details)
{
QString comment;
QString nickname = details.mNickname.empty()?tr("[Unknown]"):QString::fromUtf8(details.mNickname.c_str()) ;
comment = QString("%1:%2<br/>%3:%4").arg(QApplication::translate("GxsIdDetails", "Identity&nbsp;name"),
QString::fromUtf8(details.mNickname.c_str()),
nickname,
QApplication::translate("GxsIdDetails", "Identity&nbsp;Id"),
QString::fromStdString(details.mId.toStdString()));

View File

@ -62,10 +62,10 @@ static void fillGxsIdRSTreeWidgetItemCallback(GxsIdDetailsType type, const RsIde
break;
case GXS_ID_DETAILS_TYPE_DONE:
toolTip = GxsIdDetails::getComment(details);
GxsIdDetails::getIcons(details, icons);
break;
}
toolTip = GxsIdDetails::getComment(details);
int column = item->idColumn();