mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-03 12:36:08 -04:00
improved tooltips in people list
This commit is contained in:
parent
53dbc526a8
commit
9ced5175fe
@ -894,7 +894,7 @@ bool IdDialog::fillIdListItem(const RsGxsIdGroup& data, QTreeWidgetItem *&item,
|
||||
RsPeerDetails details;
|
||||
rsPeers->getGPGDetails(data.mPgpId, details);
|
||||
item->setText(RSID_COL_IDTYPE, QString::fromUtf8(details.name.c_str()));
|
||||
item->setToolTip(RSID_COL_IDTYPE,QString::fromStdString(data.mPgpId.toStdString())) ;
|
||||
item->setToolTip(RSID_COL_IDTYPE,"Verified signature from node "+QString::fromStdString(data.mPgpId.toStdString())) ;
|
||||
|
||||
|
||||
tooltip += tr("Node name:")+" " + QString::fromUtf8(details.name.c_str()) + "\n";
|
||||
@ -908,13 +908,13 @@ bool IdDialog::fillIdListItem(const RsGxsIdGroup& data, QTreeWidgetItem *&item,
|
||||
|
||||
if(!data.mPgpId.isNull())
|
||||
{
|
||||
item->setToolTip(RSID_COL_IDTYPE,tr("Unverified signature from ")+QString::fromStdString(data.mPgpId.toStdString())) ;
|
||||
item->setToolTip(RSID_COL_KEYID,tr("Unverified signature from ")+QString::fromStdString(data.mPgpId.toStdString())) ;
|
||||
item->setToolTip(RSID_COL_IDTYPE,tr("Unverified signature from node ")+QString::fromStdString(data.mPgpId.toStdString())) ;
|
||||
item->setToolTip(RSID_COL_KEYID,tr("Unverified signature from node ")+QString::fromStdString(data.mPgpId.toStdString())) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
item->setToolTip(RSID_COL_IDTYPE,tr("Unverified signature")) ;
|
||||
item->setToolTip(RSID_COL_KEYID,tr("Unverified signature")) ;
|
||||
item->setToolTip(RSID_COL_IDTYPE,tr("Unchecked signature")) ;
|
||||
item->setToolTip(RSID_COL_KEYID,tr("Unchecked signature")) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user