small improvement in display of 3rd party trust info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2008-12-23 17:59:58 +00:00
parent 69f48f7d20
commit b95a0b0f17

View File

@ -49,6 +49,7 @@
/* Images for Status icons */ /* Images for Status icons */
#define IMAGE_AUTHED ":/images/accepted16.png" #define IMAGE_AUTHED ":/images/accepted16.png"
#define IMAGE_DENIED ":/images/denied16.png" #define IMAGE_DENIED ":/images/denied16.png"
#define IMAGE_TRUSTED ":/images/rs-2.png"
RsCertId getNeighRsCertId(QTreeWidgetItem *i); RsCertId getNeighRsCertId(QTreeWidgetItem *i);
@ -372,7 +373,7 @@ void NetworkDialog::insertConnect()
if (rsPeers->isTrustingMe(detail.id)) if (rsPeers->isTrustingMe(detail.id))
{ {
backgrndcolor=Qt::magenta; backgrndcolor=Qt::magenta;
item -> setIcon(0,(QIcon(IMAGE_DENIED))); item -> setIcon(0,(QIcon(IMAGE_TRUSTED)));
} }
else if (detail.trustLvl > RS_TRUST_LVL_MARGINAL) else if (detail.trustLvl > RS_TRUST_LVL_MARGINAL)
{ {