mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
fixed update of reputations display and used proper global score in id list
This commit is contained in:
parent
512c15c054
commit
12acf6de35
@ -384,7 +384,7 @@ bool IdDialog::fillIdListItem(const RsGxsIdGroup& data, QTreeWidgetItem *&item,
|
|||||||
item->setData(RSID_COL_KEYID, Qt::UserRole,QVariant(item_flags)) ;
|
item->setData(RSID_COL_KEYID, Qt::UserRole,QVariant(item_flags)) ;
|
||||||
|
|
||||||
item->setTextAlignment(RSID_COL_VOTES, Qt::AlignRight);
|
item->setTextAlignment(RSID_COL_VOTES, Qt::AlignRight);
|
||||||
item->setData(RSID_COL_VOTES,Qt::DisplayRole, QString::number(info.mFriendAverage-1.0f,'f',3));
|
item->setData(RSID_COL_VOTES,Qt::DisplayRole, QString::number(info.mOverallReputationScore - 1.0f,'f',3));
|
||||||
|
|
||||||
if(isOwnId)
|
if(isOwnId)
|
||||||
{
|
{
|
||||||
@ -756,6 +756,7 @@ void IdDialog::modifyReputation()
|
|||||||
// trigger refresh when finished.
|
// trigger refresh when finished.
|
||||||
// basic / anstype are not needed.
|
// basic / anstype are not needed.
|
||||||
requestIdDetails();
|
requestIdDetails();
|
||||||
|
requestIdList();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user