Added the infrastructure for propagating trust info through third parties, and little interface to be able to see it.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2008-12-23 16:25:32 +00:00
parent 19aa089701
commit 69f48f7d20
2 changed files with 9 additions and 1 deletions

View file

@ -369,7 +369,12 @@ void NetworkDialog::insertConnect()
}
else
{
if (detail.trustLvl > RS_TRUST_LVL_MARGINAL)
if (rsPeers->isTrustingMe(detail.id))
{
backgrndcolor=Qt::magenta;
item -> setIcon(0,(QIcon(IMAGE_DENIED)));
}
else if (detail.trustLvl > RS_TRUST_LVL_MARGINAL)
{
backgrndcolor=Qt::cyan;
item -> setIcon(0,(QIcon(IMAGE_DENIED)));