mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 07:40:21 -04:00
fixed color of admin circles (we cannot use a bullet, since bullets are kept for Membership property)
This commit is contained in:
parent
4d452bf6eb
commit
cc6ae747cb
1 changed files with 3 additions and 2 deletions
|
@ -698,10 +698,11 @@ void IdDialog::loadCircleGroupMeta(const uint32_t &token)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The bullet colors below are for the *Membership*. This is independent from admin rights, which cannot be shown as a color.
|
||||||
|
// Admin/non admin is shows using Bold font.
|
||||||
|
|
||||||
if(am_I_in_circle)
|
if(am_I_in_circle)
|
||||||
item->setIcon(CIRCLEGROUP_CIRCLE_COL_GROUPNAME,QIcon(IMAGE_MEMBER)) ;
|
item->setIcon(CIRCLEGROUP_CIRCLE_COL_GROUPNAME,QIcon(IMAGE_MEMBER)) ;
|
||||||
else if(am_I_admin)
|
|
||||||
item->setIcon(CIRCLEGROUP_CIRCLE_COL_GROUPNAME,QIcon(IMAGE_ADMIN)) ;
|
|
||||||
else if(am_I_invited || am_I_pending)
|
else if(am_I_invited || am_I_pending)
|
||||||
item->setIcon(CIRCLEGROUP_CIRCLE_COL_GROUPNAME,QIcon(IMAGE_INVITED)) ;
|
item->setIcon(CIRCLEGROUP_CIRCLE_COL_GROUPNAME,QIcon(IMAGE_INVITED)) ;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue