mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 18:42:20 -04:00
added channel msg thumbnail, you'll lose all your current channel msgs before this rev
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4157aff291
commit
1f873e023e
6 changed files with 78 additions and 1 deletions
|
@ -121,6 +121,14 @@ void ChanMsgItem::updateItemStatic()
|
|||
layout->addWidget(fi);
|
||||
}
|
||||
|
||||
if(cmi.thumbnail.image_thumbnail != NULL)
|
||||
{
|
||||
QPixmap thumbnail;
|
||||
thumbnail.loadFromData(cmi.thumbnail.image_thumbnail, cmi.thumbnail.im_thumbnail_size,
|
||||
"PNG");
|
||||
|
||||
label->setPixmap(thumbnail);
|
||||
}
|
||||
|
||||
if (mIsHome)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue