removed mention of null PGP ids in People

This commit is contained in:
csoler 2016-04-02 16:50:22 -04:00
parent f8639e5486
commit 53dbc526a8

View File

@ -905,9 +905,17 @@ bool IdDialog::fillIdListItem(const RsGxsIdGroup& data, QTreeWidgetItem *&item,
{
QString txt = tr("[Unknown node]");
item->setText(RSID_COL_IDTYPE, txt);
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())) ;
}
else
{
item->setToolTip(RSID_COL_IDTYPE,tr("Unverified signature")) ;
item->setToolTip(RSID_COL_KEYID,tr("Unverified signature")) ;
}
}
}
else