mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 09:03:51 -05:00
Fixed Avatar issue on comments feeds to have a good quality
This commit is contained in:
parent
a4ad9c6467
commit
e258058f4d
2 changed files with 2 additions and 2 deletions
|
|
@ -317,7 +317,7 @@ void ChannelsCommentsItem::loadMessage()
|
|||
QPixmap pixmap ;
|
||||
|
||||
if(idDetails.mAvatar.mSize == 0 || !GxsIdDetails::loadPixmapFromData(idDetails.mAvatar.mData, idDetails.mAvatar.mSize, pixmap,GxsIdDetails::SMALL))
|
||||
pixmap = GxsIdDetails::makeDefaultIcon(cmt.mMeta.mAuthorId,GxsIdDetails::SMALL);
|
||||
pixmap = GxsIdDetails::makeDefaultIcon(cmt.mMeta.mAuthorId,GxsIdDetails::LARGE);
|
||||
ui->avatarLabel->setPixmap(pixmap);
|
||||
|
||||
//Change this item to be uploaded with thread element.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue