From d69e03efd647e4c2211c1c11fbe4de0bdbf570bc Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 6 Jun 2015 11:30:31 +0000 Subject: [PATCH] added tooltip to security item git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8379 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/feeds/SecurityIpItem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/feeds/SecurityIpItem.cpp b/retroshare-gui/src/gui/feeds/SecurityIpItem.cpp index 319e751b2..9d93292d2 100644 --- a/retroshare-gui/src/gui/feeds/SecurityIpItem.cpp +++ b/retroshare-gui/src/gui/feeds/SecurityIpItem.cpp @@ -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("

This is the external IP your Retroshare node thinks it is using.

")) ; + ui->ipAddrReported->setText(QString::fromStdString(mIpAddrReported)); + ui->ipAddrReported->setToolTip(tr("

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.

")) ; + break; default: std::cerr << "SecurityIpItem::updateItem() Wrong type" << std::endl; }