From 797d5fc93388d27d20c8f384a467c2d25a6627ab Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 24 Dec 2008 17:09:41 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/NetworkDialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/NetworkDialog.cpp b/retroshare-gui/src/gui/NetworkDialog.cpp index 814323f31..2404a3110 100644 --- a/retroshare-gui/src/gui/NetworkDialog.cpp +++ b/retroshare-gui/src/gui/NetworkDialog.cpp @@ -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) {