mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
set a default Avatar when Friend has no Avatar for Privat Chat.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2199 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
604dce321e
commit
e6595f767c
3 changed files with 2 additions and 0 deletions
|
@ -649,6 +649,7 @@ void PopupChatDialog::updatePeerAvatar(const std::string& peer_id)
|
|||
if(size == 0)
|
||||
{
|
||||
std::cerr << "Got no image" << std::endl ;
|
||||
ui.avatarlabel->setPixmap(QPixmap(":/images/no_avatar_70.png"));
|
||||
return ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue