added tooltip to security item

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8379 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-06-06 11:30:31 +00:00
parent 46d8d59a83
commit d69e03efd6

View File

@ -152,8 +152,10 @@ void SecurityIpItem::updateItem()
case RS_FEED_ITEM_SEC_WRONG_EXTERNAL_IP_REPORTED:
ui->titleLabel->setText(tr("Wrong external ip address reported"));
ui->ipAddr->setText(QString::fromStdString(mIpAddr));
ui->ipAddrReported->setText(QString::fromStdString(mIpAddrReported));
break;
ui->ipAddr->setToolTip(tr("<p>This is the external IP your Retroshare node thinks it is using.</p>")) ;
ui->ipAddrReported->setText(QString::fromStdString(mIpAddrReported));
ui->ipAddrReported->setToolTip(tr("<p>This is the IP your friend claims it is connected to. If you changed IPs this is just a false warning. If not, that means your connection to this friend is forwarded by an intermediate peer, which would be suspicious.</p>")) ;
break;
default:
std::cerr << "SecurityIpItem::updateItem() Wrong type" << std::endl;
}