mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 22:49:37 -05: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
@ -649,6 +649,7 @@ void PopupChatDialog::updatePeerAvatar(const std::string& peer_id)
|
|||||||
if(size == 0)
|
if(size == 0)
|
||||||
{
|
{
|
||||||
std::cerr << "Got no image" << std::endl ;
|
std::cerr << "Got no image" << std::endl ;
|
||||||
|
ui.avatarlabel->setPixmap(QPixmap(":/images/no_avatar_70.png"));
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -288,6 +288,7 @@
|
|||||||
<file>images/new_forum16.png</file>
|
<file>images/new_forum16.png</file>
|
||||||
<file>images/nopic.png</file>
|
<file>images/nopic.png</file>
|
||||||
<file>images/no_avatar.png</file>
|
<file>images/no_avatar.png</file>
|
||||||
|
<file>images/no_avatar_70.png</file>
|
||||||
<file>images/pasterslink.png</file>
|
<file>images/pasterslink.png</file>
|
||||||
<file>images/package_games1.png</file>
|
<file>images/package_games1.png</file>
|
||||||
<file>images/peerdetails_16x16.png</file>
|
<file>images/peerdetails_16x16.png</file>
|
||||||
|
BIN
retroshare-gui/src/gui/images/no_avatar_70.png
Normal file
BIN
retroshare-gui/src/gui/images/no_avatar_70.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
Loading…
Reference in New Issue
Block a user