Added tool tip and info to peer that trust you, in NetworkDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@895 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2008-12-24 17:09:41 +00:00
parent b95a0b0f17
commit 797d5fc933

View File

@ -292,8 +292,7 @@ void NetworkDialog::insertConnect()
item -> setText(1, tr("Deny"));
}
item -> setText(2,QString::fromStdString(
RsPeerTrustString(detail.trustLvl)));
item -> setText(2,QString::fromStdString( RsPeerTrustString(detail.trustLvl)));
/* (3) Last Connect */
{
@ -374,6 +373,9 @@ void NetworkDialog::insertConnect()
{
backgrndcolor=Qt::magenta;
item -> setIcon(0,(QIcon(IMAGE_TRUSTED)));
item -> setText(2,QString("Trusts me"));
for(int k=0;k<8;++k)
item -> setToolTip(k,QString::fromStdString(detail.name) + QString(tr(" is trusting you. \nRight-click and select 'make friend' to be able to connect."))) ;
}
else if (detail.trustLvl > RS_TRUST_LVL_MARGINAL)
{