mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-02 19:31:04 -05:00
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:
parent
b95a0b0f17
commit
797d5fc933
@ -292,8 +292,7 @@ void NetworkDialog::insertConnect()
|
|||||||
item -> setText(1, tr("Deny"));
|
item -> setText(1, tr("Deny"));
|
||||||
}
|
}
|
||||||
|
|
||||||
item -> setText(2,QString::fromStdString(
|
item -> setText(2,QString::fromStdString( RsPeerTrustString(detail.trustLvl)));
|
||||||
RsPeerTrustString(detail.trustLvl)));
|
|
||||||
|
|
||||||
/* (3) Last Connect */
|
/* (3) Last Connect */
|
||||||
{
|
{
|
||||||
@ -374,6 +373,9 @@ void NetworkDialog::insertConnect()
|
|||||||
{
|
{
|
||||||
backgrndcolor=Qt::magenta;
|
backgrndcolor=Qt::magenta;
|
||||||
item -> setIcon(0,(QIcon(IMAGE_TRUSTED)));
|
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)
|
else if (detail.trustLvl > RS_TRUST_LVL_MARGINAL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user